Tag
A tag belonging to a tag group.
Example Request
curl https://api.planningcenteronline.com/services/v2/media/{media_id}/tags
View in API Explorer →
Example Object
{
"type": "Tag",
"id": "1",
"attributes": {
"name": "string"
},
"relationships": {
"tag_group": {
"data": {
"type": "TagGroup",
"id": "1"
}
}
}
}
Attributes
| Name |
Type |
Description |
id |
primary_key |
|
name |
string |
|
Relationships
| Name |
Type |
Association Type |
Note |
| tag_group |
TagGroup |
to_one |
|
Pagination
| Name |
Parameter |
Type |
Description |
| per_page |
per_page |
integer |
how many records to return per page (min=1, max=100, default=25) |
| offset |
offset |
integer |
get results from given offset |
Endpoints
Listing
| HTTP Method |
Endpoint |
| GET |
/services/v2/media/{media_id}/tags |
Reading
| HTTP Method |
Endpoint |
| GET |
/services/v2/media/{media_id}/tags/{id} |
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/services/v2/songs/{song_id}/arrangements/{arrangement_id}/tags |
Arrangement
|
|
|
| GET |
https://api.planningcenteronline.com/services/v2/media/{media_id}/tags |
Media
|
|
|
| GET |
https://api.planningcenteronline.com/services/v2/people/{person_id}/tags |
Person
|
|
|
| GET |
https://api.planningcenteronline.com/services/v2/songs/{song_id}/tags |
Song
|
|
|
| GET |
https://api.planningcenteronline.com/services/v2/tag_groups/{tag_group_id}/tags |
TagGroup
|
|
|
| GET |
https://api.planningcenteronline.com/services/v2/service_types/{service_type_id}/team_positions/{team_position_id}/tags |
TeamPosition
|
|
|