Home > Forum > General > REST API usage for attachemnts

REST API usage for attachemnts
0

Hello, I am trying to use the webcon REST API to create a new instance and to upload an attachment. I am having troubles finding the version that should go into the URL ex: /api/data/v2.0/db/{dbId}/elements/{id} (in this case is "v2.0"). How can I find the version for my project?
I have used the following examples from webcon:

https://community.webcon.com/community/public/posts/post/examples-of-using-rest-api/109#a2
https://developer.webcon.com/docs/bps-rest-api/
https://developer.webcon.com/docs/attachment-operations/

Account deleted

Hi vlazar

With your Webcon installation 'Swagger' is also included.
If you append /api to your portal URL you will get to the Swagger UI, there you can select the API version and see what is supported.