JustBlogged Collections API

Collection (category) management

GitHub OpenAPI

Operations 5

GET /blogs/{blogId}/collections List collections #
POST /blogs/{blogId}/collections Create collection #
GET /blogs/{blogId}/collections/{collectionId} Get collection #
PATCH /blogs/{blogId}/collections/{collectionId} Update collection #
DELETE /blogs/{blogId}/collections/{collectionId} Delete collection #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/justblogged-com:justblogged-com-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

justblogged-com-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustBlogged Collections API
  description: Content management API for JustBlogged multi-tenant blog platform
  version: 1.0.0
  contact:
    name: JustBlogged
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
- url: /api
  description: API base path
security:
- bearerAuth: []
tags:
- name: Collections
  description: Collection (category) management
paths:
  /blogs/{blogId}/collections:
    get:
      tags:
      - Collections
      summary: List collections
      description: Get all collections for the blog
      operationId: listCollections
      parameters:
      - $ref: '#/components/parameters/blogId'
      responses:
        '200':
          description: List of collections
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Collection'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - Collections
      summary: Create collection
      description: Create a new collection. Max 10 collections per blog. Requires blog owner permissions.
      operationId: createCollection
      parameters:
      - $ref: '#/components/parameters/blogId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCollectionRequest'
      responses:
        '200':
          description: Created collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        '400':
          description: Max collections reached or invalid data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /blogs/{blogId}/collections/{collectionId}:
    get:
      tags:
      - Collections
      summary: Get collection
      description: Get a collection by ID
      operationId: getCollection
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/collectionId'
      responses:
        '200':
          description: Collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Collections
      summary: Update collection
      description: Update a collection. Requires blog owner permissions.
      operationId: updateCollection
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/collectionId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCollectionRequest'
      responses:
        '200':
          description: Updated collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      tags:
      - Collections
      summary: Delete collection
      description: Delete a collection. Optionally reassign posts to another collection. Requires blog owner permissions.
      operationId: deleteCollection
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/collectionId'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                reassignTo:
                  type: string
                  description: Collection ID to reassign posts to (optional)
      responses:
        '200':
          description: Collection deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Error:
      type: object
      required:
      - statusCode
      - statusMessage
      properties:
        statusCode:
          type: integer
        statusMessage:
          type: string
        message:
          type: string
    UpdateCollectionRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 32
        slug:
          type: string
          pattern: ^\s*(?:$|(?=[a-zA-Z0-9_-]{1,32}\s*$)(?!(?:[aA][dD][mM][iI][nN]|[lL][oO][gG][iI][nN]|[sS][iI][gG][nN][uU][pP]|[aA][pP][iI]|[aA][sS][sS][eE][tT][sS]|[rR][oO][bB][oO][tT][sS]\.[tT][xX][tT]|[sS][iI][tT][eE][mM][aA][pP]\.[xX][mM][lL]|[sS][iI][tT][eE][mM][aA][pP]-[iI][nN][dD][eE][xX]\.[xX][mM][lL]|[fF][eE][eE][dD]|[rR][sS][sS]|[tT][aA][gG][sS]|[tT][aA][gG]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN][sS]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN]|[pP][aA][gG][eE][sS]|[pP][aA][gG][eE]|[sS][iI][tT][eE][mM][aA][pP]|[sS][iI][tT][eE][mM][aA][pP][sS]|[sS][eE][aA][rR][cC][hH]|[dD][aA][sS][hH][bB][oO][aA][rR][dD]|[sS][eE][tT][tT][iI][nN][gG][sS]|[pP][rR][oO][fF][iI][lL][eE])\s*$)(?!.*--)[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?)\s*$
        description:
          type: string
          maxLength: 256
    CreateCollectionRequest:
      type: object
      required:
      - name
      - slug
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 32
        slug:
          type: string
          pattern: ^\s*(?:$|(?=[a-zA-Z0-9_-]{1,32}\s*$)(?!(?:[aA][dD][mM][iI][nN]|[lL][oO][gG][iI][nN]|[sS][iI][gG][nN][uU][pP]|[aA][pP][iI]|[aA][sS][sS][eE][tT][sS]|[rR][oO][bB][oO][tT][sS]\.[tT][xX][tT]|[sS][iI][tT][eE][mM][aA][pP]\.[xX][mM][lL]|[sS][iI][tT][eE][mM][aA][pP]-[iI][nN][dD][eE][xX]\.[xX][mM][lL]|[fF][eE][eE][dD]|[rR][sS][sS]|[tT][aA][gG][sS]|[tT][aA][gG]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN][sS]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN]|[pP][aA][gG][eE][sS]|[pP][aA][gG][eE]|[sS][iI][tT][eE][mM][aA][pP]|[sS][iI][tT][eE][mM][aA][pP][sS]|[sS][eE][aA][rR][cC][hH]|[dD][aA][sS][hH][bB][oO][aA][rR][dD]|[sS][eE][tT][tT][iI][nN][gG][sS]|[pP][rR][oO][fF][iI][lL][eE])\s*$)(?!.*--)[a-zA-Z0-9](?:[a-zA-Z0-9_-]*[a-zA-Z0-9])?)\s*$
        description:
          type: string
          maxLength: 256
    Collection:
      type: object
      required:
      - id
      - name
      - slug
      - url
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        url:
          type: string
          format: uri
        metadata:
          type:
          - object
          - 'null'
          additionalProperties: true
        post_count:
          type: integer
          description: Present when available
  responses:
    BadRequest:
      description: Invalid request data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    collectionId:
      name: collectionId
      in: path
      required: true
      description: Collection ID
      schema:
        type: string
    blogId:
      name: blogId
      in: path
      required: true
      description: Blog ID
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key authentication (format: jb_xxxx). Blog-scoped keys can manage only their bound blog and inherit the key owner''s current account status and blog permissions.'