rest-api-samples icon indicating copy to clipboard operation
rest-api-samples copied to clipboard

QueryProject using LUID

Open jyoung-slalom opened this issue 2 years ago • 2 comments

Please remove if there is already an issue, but I didn't see one on my search.

Would like to see the ability to query projects using the REST API by LUID instead of by Project Name.

jyoung-slalom avatar Oct 17 '23 15:10 jyoung-slalom

If you know the project LUID, you don't need to query them all - you can get a specific project using /sites/{site-luid}/projects/{project-luid}. Does this do what you wanted?

jacalata avatar Oct 17 '23 18:10 jacalata

This doesn't work in the REST API. You'll get a 405 error: "error": { "summary": "Method Not Allowed", "detail": "The HTTP method 'GET' is not supported for the given resource", "code": "405000"

jyoung-slalom avatar Oct 18 '23 02:10 jyoung-slalom