Patreon / platform-documentation

The API documentation for Patreon
https://docs.patreon.com
Other
30 stars 18 forks source link

clarify identity endpoint #53

Closed ftreesmilo closed 2 years ago

ftreesmilo commented 3 years ago

I suffered through this for a while, read through a bunch of unanswered questions in the forum, and finally found the answer in a topic unrelated to the issue:

How do you really request the memberships of a user AND the campaigns they are for with the identity api.

Contrary to the doc, you do not need the campaign scope for this. You simply need to use a special include that is not mentioned in the doc at all.

codebard commented 2 years ago

These are unrelated though: Requesting /campaigns would give you the info about the campaigns of a user if you have the campaigns scope. This is correct, as the documents have it.

You can also request and get the same info as includes while querying /identity. That's a different way of getting the data than calling the specific endpoint of the data (/campaigns).

For all of them you would have to have the campaigns scope. (Except from creator's access token, which always has it).

So this PR is not really applicable.