/rest/servicedeskapi/assets/workspace for this url i want to get work space id so what and all informtion i have to pass?
how to get this value
atlassian.xsrf.token=9d96e64b-4dcd-4137-a176-j1d4a2afbe60_663930b199b2f2b739f9c0f0678499eebbc6_lin?
With the workspace id, you can access your asset data via the REST API
curl --request POST \
--url 'https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/object/aql?startAt={startAt}&maxResults={maxResults}&includeAttributes={includeAttributes}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <API TOKEN>' \
--data '{ "qlQuery": "objectType = Office AND Name LIKE SYD" }
But you still need to provide your api token (see here)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.