Teams service
The Teams API allows you to manage teams. You can create teams, update their information, and retrieve team data. Additionally, you can check the availability of team names and retrieve a list of teams. This API provides essential functionalities for organizing and collaborating with your application, making it easier to manage teams and access relevant team data.
Swagger docs link:
https://api.metaproprotocol.com/ms/teams/docs
2
2
1aea9899-3f43-4ea6-852a-dddddbbc48c5
Team name
https://example-team-page.com
d4be5783-5373-4cca-ac96-1021277c3336
Sort by..
desc
Possible values: Incorrect data requested
Entity not found
GET /teams HTTP/1.1
Host: v1
Accept: */*
{
"results": [
{
"teamId": "1aea9899-3f43-4ea6-852a-dddddbbc48c5",
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"createdBy": "d4be5783-5373-4cca-ac96-1021277c3336",
"socialMedia": "https://facebook.com/my-profile",
"createdAt": "2022-05-25T16:17:01.797Z",
"updatedAt": "2022-05-25T16:17:01.797Z",
"members": [
{
"address": "0x3203c9e46ca618c8c1ce5dc67e7e9d75f5da2377",
"userId": "abc123456"
}
]
}
],
"count": 1
}
asduf823hf-sa98ehf938rh
0xd1afbab5cacb45491ce002a6026c1401340eae6a
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
https://image.com/logo
https://image.com/banner
Full team description
Team name
https://example-team-page.com
https://facebook.com/my-profile
Incorrect data requested
Unouthorized access!
Not allowed to process this request!
Entity not found
POST /teams HTTP/1.1
Host: v1
Authorization: text
x-account-wallet: text
x-account-userid: text
Content-Type: application/json
Accept: */*
Content-Length: 216
{
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"socialMedia": "https://facebook.com/my-profile"
}
{
"teamId": "1aea9899-3f43-4ea6-852a-dddddbbc48c5",
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"createdBy": "d4be5783-5373-4cca-ac96-1021277c3336",
"socialMedia": "https://facebook.com/my-profile",
"createdAt": "2022-05-25T16:17:01.797Z",
"updatedAt": "2022-05-25T16:17:01.797Z",
"members": [
{
"address": "0x3203c9e46ca618c8c1ce5dc67e7e9d75f5da2377",
"userId": "abc123456"
}
]
}
1aea9899-3f43-4ea6-852a-dddddbbc48c5
asduf823hf-sa98ehf938rh
0xd1afbab5cacb45491ce002a6026c1401340eae6a
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
https://image.com/logo
https://image.com/banner
Full team description
Team name
https://example-team-page.com
https://facebook.com/my-profile
Incorrect data requested
Unouthorized access!
Not allowed to process this request!
Entity not found
PATCH /teams/{teamId} HTTP/1.1
Host: v1
Authorization: text
x-account-wallet: text
x-account-userid: text
Content-Type: application/json
Accept: */*
Content-Length: 263
{
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"socialMedia": "https://facebook.com/my-profile",
"members": [
{
"address": "text",
"userId": "text"
}
]
}
{
"teamId": "1aea9899-3f43-4ea6-852a-dddddbbc48c5",
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"createdBy": "d4be5783-5373-4cca-ac96-1021277c3336",
"socialMedia": "https://facebook.com/my-profile",
"createdAt": "2022-05-25T16:17:01.797Z",
"updatedAt": "2022-05-25T16:17:01.797Z",
"members": [
{
"address": "0x3203c9e46ca618c8c1ce5dc67e7e9d75f5da2377",
"userId": "abc123456"
}
]
}
Incorrect data requested
Entity not found
GET /teams/{nameOrId} HTTP/1.1
Host: v1
Accept: */*
{
"teamId": "1aea9899-3f43-4ea6-852a-dddddbbc48c5",
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"createdBy": "d4be5783-5373-4cca-ac96-1021277c3336",
"socialMedia": "https://facebook.com/my-profile",
"createdAt": "2022-05-25T16:17:01.797Z",
"updatedAt": "2022-05-25T16:17:01.797Z",
"members": [
{
"address": "0x3203c9e46ca618c8c1ce5dc67e7e9d75f5da2377",
"userId": "abc123456"
}
]
}
2
2
Incorrect data requested
Entity not found
GET /teams-search/{searchText} HTTP/1.1
Host: v1
Accept: */*
{
"results": [
{
"teamId": "1aea9899-3f43-4ea6-852a-dddddbbc48c5",
"logo": "https://image.com/logo",
"banner": "https://image.com/banner",
"description": "Full team description",
"name": "Team name",
"website": "https://example-team-page.com",
"createdBy": "d4be5783-5373-4cca-ac96-1021277c3336",
"socialMedia": "https://facebook.com/my-profile",
"createdAt": "2022-05-25T16:17:01.797Z",
"updatedAt": "2022-05-25T16:17:01.797Z",
"members": [
{
"address": "0x3203c9e46ca618c8c1ce5dc67e7e9d75f5da2377",
"userId": "abc123456"
}
]
}
],
"count": 1
}
Last updated