🗃️Endpoints - Tags
List tags
List tags
The page number in a paginated set of results
The limit of results to be returned per page
Get a tag by a specific name
Get a tag that contains this name
Tags returned successfully
Malformed payload
GET /v1/tags HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
{
"items": [
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
],
"total": 1
}
Create a tag
Create a tag
Name of the tag
Emoji of the tag
The tag has been successfully created
Malformed payload
POST /v1/tags HTTP/1.1
Host: openapi.meltingspot.io
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"name": "text",
"emoji": "text"
}
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
Get a tag
Get a tag
The id of the tag
Tag found and returned successfully
Malformed payload
Tag not found
GET /v1/tags/{tagId} HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
Delete a tag
Delete a tag
The id of the tag
Tag successfully deleted
Malformed payload
Tag not found
DELETE /v1/tags/{tagId} HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
Aucun contenu
Update a tag
Update a tag
The id of the tag
The name of the tag
The emoji of the tag
Tag successfully updated
Malformed payload
Tag not found
PUT /v1/tags/{tagId} HTTP/1.1
Host: openapi.meltingspot.io
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"name": "text",
"emoji": "text"
}
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
Assign multiple spot members to a tag
Assign spot members to a tag
The id of the tag
The ids of the spotMembers to assign to the tag
Spot members successfully assigned
Malformed payload
POST /v1/tags/{tagId}/spotMembers~bulkAssign HTTP/1.1
Host: openapi.meltingspot.io
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"spotMemberIds": [
"text"
]
}
Aucun contenu
Unassign multiple spot members to a tag
Unassign spot members to a tag
The id of the tag
The ids of the spotMembers to unassign to the tag
Spot members successfully unassigned
Malformed payload
POST /v1/tags/{tagId}/spotMembers~bulkUnassign HTTP/1.1
Host: openapi.meltingspot.io
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"spotMemberIds": [
"text"
]
}
Aucun contenu
List tagged members
List Tagged members
The id of the tag
The page number in a paginated set of results
The limit of results to be returned per page
The emails of spot member to include in the result
The firstnames of spot member to include in the result
The lastnames of spot member to include in the result
Spot members where registration date is before a specific date (Unix timestamp format)
Spot members where registration date is after a specific date (Unix timestamp format)
Tagged members returned successfully
Malformed payload
GET /v1/tags/{tagId}/spotMembers HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
{
"items": [
{
"id": "text",
"spotId": "text",
"userId": "text",
"email": "text",
"title": "text",
"role": "Member",
"customRoleId": "text",
"status": "Accepted",
"firstname": "text",
"lastname": "text",
"warnings": 1,
"embedBaseUrls": {
"default": "text",
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"total": 1
}
Create multiple tags
Create multiple tags
Name of the tag
Emoji of the tag
Tags has been successfully created
Malformed payload
Payload is too large
POST /v1/tags~bulkCreate HTTP/1.1
Host: openapi.meltingspot.io
Content-Type: application/json
Accept: */*
Content-Length: 32
[
{
"name": "text",
"emoji": "text"
}
]
{
"created": [
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
],
"failed": [
{
"name": "text",
"emoji": "text"
}
]
}
Mis à jour
Ce contenu vous a-t-il été utile ?