Add x-hidden to endpoints
Get list of all organization memberships
Changed onReturns all the organization memberships
get/v3/organization_memberships
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
offsetinteger
The number of documents to skip before starting to collect the result set.
limitinteger
Example:20
The numbers of results to return.
organizationstring
Uniquely identify an organization.
Example:mEFayXdO
Filter by organization.
role'admin' | 'member'
Example:admin
Filter by role.
Response
Memberships of the organizations you created or joined.
Example response
{
"count": 10,
"results": [
{
"organization": "mEFayXdO",
"user": {
"id": 1,
"name": "Carl Johnson",
"username": "carljohnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
},
"role": "admin"
}
]
}Changes
- info
api tag
Add x-hidden to endpointsadded - info
api tag
Organization API - Membershipremoved
- info
- breaking
for the
queryrequest parameterlimit, default value300was removed - breaking
for the
queryrequest parameterlimit, the max was decreased from300.00to100.00
- breaking