The response is a 200 OK with a payload but the payload is always pointing to the incorrect objectType and schema. This happens no matter what objectTypeId and schemaId used in the URL. It always points to the same incorrect schema and objectType.
What's weird is this doesn't happen if I point to an object directly. I can get single object payload with correct data but not a schema/objectType payload.
Example of the URL format I am using:
https://api.atlassian.com/jsm/assets/workspace/<ID>/v1/aql/objects?query=objectType=<ID>&schemaId=<ID>
Anybody have any ideas?
Hi @Steve S_
The endpoint you are referring to is not a Cloud endpoint anymore, this is deprecated since 18/08/2024
You should use: https://api.atlassian.com/jsm/assets/workspace/<ID>/object/aql
See; https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-post
You weren't that far off - further down that page it does have a section that provided the answer I needed - so thank you!
The final format that worked is:
https://api.atlassian.com/jsm/assets/workspace/<ID>/v1/objecttype/<ID>/attributes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.