example-data.com

tags

tags

Page 2 of 3.

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": 25,
      "name": "design",
      "slug": "design",
      "color": "#5b87ed",
      "useCount": 189
    },
    {
      "id": 26,
      "name": "frontend",
      "slug": "frontend",
      "color": "#ac3bba",
      "useCount": 352
    },
    {
      "id": 27,
      "name": "backend",
      "slug": "backend",
      "color": "#17d02e",
      "useCount": 47
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 60,
    "totalPages": 3
  },
  "links": {
    "self": "/api/v1/tags?page=2",
    "next": "/api/v1/tags?page=3",
    "prev": "/api/v1/tags?page=1"
  }
}
Draftbit