🗃️Endpoints - Les tags
Lister les tags du Spot
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
GET /v1/tags HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
{
"items": [
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
],
"total": 1
}
Créer un tag
Create a tag
Name of the tag
Emoji of the tag
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
}
Récupérer un tag
Get a tag
The id of the tag
GET /v1/tags/{tagId} HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
{
"id": "text",
"name": "text",
"emoji": "text",
"order": 1
}
Supprimer un tag
Delete a tag
The id of the tag
DELETE /v1/tags/{tagId} HTTP/1.1
Host: openapi.meltingspot.io
Accept: */*
Aucun contenu
Modifier un tag
Update a tag
The id of the tag
The name of the tag
The emoji of the tag
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
}
Assigner un tag à plusieurs membres
Assign spot members to a tag
The id of the tag
The ids of the spotMembers to assign to the tag
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
Désassigner un tag de plusieurs membres
Unassign spot members to a tag
The id of the tag
The ids of the spotMembers to unassign to the tag
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
Lister les membres assignés à un tag
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)
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
}
Créer plusieurs tags
Create multiple tags
Name of the tag
Emoji of the tag
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"
}
]
}
Dernière mise à jour
Cet article vous a-t-il été utile ?