tableau / rest-api-samples

Samples for the Tableau REST API
MIT License
378 stars 268 forks source link

QueryProject using LUID #81

Open jyoung-slalom opened 9 months ago

jyoung-slalom commented 9 months ago

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.

jacalata commented 9 months ago

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?

jyoung-slalom commented 9 months ago

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"