Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getUserMembership documentation update #1197

Open
hogpilot opened this issue Mar 5, 2025 · 0 comments
Open

getUserMembership documentation update #1197

hogpilot opened this issue Mar 5, 2025 · 0 comments

Comments

@hogpilot
Copy link
Contributor

hogpilot commented Mar 5, 2025

Describe the bug

I think there is an update needed to the documentation to change "nonmember" to "none"

getUserMembership documentation states that it returns a Promise<GroupMembership>:

A Promise that resolves with "owner" | "admin" | "member" | "nonmember"

But the Promise<GroupMembership> docs state:

GroupMembership: "owner" | "admin" | "member" | "none"

The latter coincides with the REST docs:

    "userMembership": {   //available only if request is made by an authenticated user
        "username": "<requestor username>",
        "memberType": "owner | member |admin | none",
        "applications": number of applications  //available only to admins and owners
      },

Reproduction

Visit the webpage getUserMembership

Logs

System Info

N/A: This issue is regarding the live documentation at: https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-portal

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant