/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)
It looks like you're new here. Sign in or register to get started.