tags
tags
Browse 60 tags records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.
tutorial
discussion
release
support
announcement
feature
Showing first 6 of 24 on this page.
curl -sS \
"https://example-data.com/api/v1/tags?limit=25"const res = await fetch(
"https://example-data.com/api/v1/tags?limit=25"
);
const { data, meta } = await res.json();import type { Tag, ListEnvelope } from "https://example-data.com/types/tags.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/tags?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Tag>;import requests
res = requests.get(
"https://example-data.com/api/v1/tags",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 1,
"name": "tutorial",
"slug": "tutorial",
"color": "#d636ab",
"useCount": 458
},
{
"id": 2,
"name": "discussion",
"slug": "discussion",
"color": "#dbd53d",
"useCount": 446
},
{
"id": 3,
"name": "release",
"slug": "release",
"color": "#dac48f",
"useCount": 96
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 60,
"totalPages": 3
},
"links": {
"self": "/api/v1/tags?page=1",
"first": "/api/v1/tags?page=1",
"last": "/api/v1/tags?page=3",
"next": "/api/v1/tags?page=2",
"prev": null
}
}