User
Get organizations
List all organizations that the current user is a member of. This function is only available through a JWT token.
get/api/user/organizations
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"organizations": [
{
"logo": "https://usercdn.edgeimpulse.com/logos/1.jpg",
"headerImg": "https://usercdn.edgeimpulse.com/leaders/1.jpg",
"users": [
{
"id": 1,
"username": "janjongboom",
"name": "Jan Jongboom",
"email": "quijote@edgeimpulse.com",
"photo": "https://usercdn.edgeimpulse.com/photos/1.jpg",
"created": "2019-08-31T17:32:28Z",
"lastSeen": "2019-08-31T17:32:28Z",
"jobTitle": "Software Engineer",
"companyName": "Edge Impulse Inc.",
"added": "2019-08-31T17:32:28Z"
}
],
"projects": [
{
"id": 1,
"name": "Water hammer detection",
"created": "2019-07-21T17:32:28Z",
"lastAccessed": "2019-07-21T17:32:28Z",
"lastModified": "2019-07-21T17:32:28Z",
"lastModificationDetails": "Data sample added",
"collaborators": [
{
"id": 1,
"username": "janjongboom",
"name": "Jan Jongboom",
"email": "quijote@edgeimpulse.com",
"photo": "https://usercdn.edgeimpulse.com/photos/1.jpg",
"created": "2019-08-31T17:32:28Z",
"lastSeen": "2019-08-31T17:32:28Z",
"jobTitle": "Software Engineer",
"companyName": "Edge Impulse Inc."
}
],
"tags": [
"FOMO",
"beers"
]
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.