Yondry Collections API

The collections API from Yondry, for collections.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 15

GET /api/v1/collections/templates List Templates #
POST /api/v1/collections/from-template Create From Template #
GET /api/v1/collections List Collections #
POST /api/v1/collections Create Collection #
PATCH /api/v1/collections/reorder Reorder Collections #
GET /api/v1/collections/public/{token} Get Public Collection #
GET /api/v1/collections/{collection_id} Get Collection #
PATCH /api/v1/collections/{collection_id} Update Collection #
DELETE /api/v1/collections/{collection_id} Delete Collection #
POST /api/v1/collections/{collection_id}/items Add Item #
PATCH /api/v1/collections/{collection_id}/items/{place_id} Update Item #
DELETE /api/v1/collections/{collection_id}/items/{place_id} Remove Item #
PATCH /api/v1/collections/{collection_id}/reorder Reorder Items #
POST /api/v1/collections/{collection_id}/publish Publish Collection #
POST /api/v1/collections/{collection_id}/unpublish Unpublish 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/yondry-app:yondry-app-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

yondry-app-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yondry Collections API
  version: 0.1.0
tags:
- name: Collections
paths:
  /api/v1/collections/templates:
    get:
      tags:
      - Collections
      summary: List Templates
      description: Return all pre-built collection templates (no auth required).
      operationId: list_templates_api_v1_collections_templates_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CollectionTemplate'
                type: array
                title: Response List Templates Api V1 Collections Templates Get
  /api/v1/collections/from-template:
    post:
      tags:
      - Collections
      summary: Create From Template
      description: Create a new collection from a template ID.
      operationId: create_from_template_api_v1_collections_from_template_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionListItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/collections:
    get:
      tags:
      - Collections
      summary: List Collections
      operationId: list_collections_api_v1_collections_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CollectionListItem'
                type: array
                title: Response List Collections Api V1 Collections Get
      security:
      - HTTPBearer: []
    post:
      tags:
      - Collections
      summary: Create Collection
      operationId: create_collection_api_v1_collections_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/collections/reorder:
    patch:
      tags:
      - Collections
      summary: Reorder Collections
      operationId: reorder_collections_api_v1_collections_reorder_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionReorderRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/collections/public/{token}:
    get:
      tags:
      - Collections
      summary: Get Public Collection
      operationId: get_public_collection_api_v1_collections_public__token__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}:
    get:
      tags:
      - Collections
      summary: Get Collection
      operationId: get_collection_api_v1_collections__collection_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Collections
      summary: Update Collection
      operationId: update_collection_api_v1_collections__collection_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Collections
      summary: Delete Collection
      operationId: delete_collection_api_v1_collections__collection_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}/items:
    post:
      tags:
      - Collections
      summary: Add Item
      operationId: add_item_api_v1_collections__collection_id__items_post
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionItemCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionItemResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}/items/{place_id}:
    patch:
      tags:
      - Collections
      summary: Update Item
      operationId: update_item_api_v1_collections__collection_id__items__place_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      - name: place_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Place Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionItemUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionItemResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Collections
      summary: Remove Item
      operationId: remove_item_api_v1_collections__collection_id__items__place_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      - name: place_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Place Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}/reorder:
    patch:
      tags:
      - Collections
      summary: Reorder Items
      operationId: reorder_items_api_v1_collections__collection_id__reorder_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectionItemReorderRequest'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}/publish:
    post:
      tags:
      - Collections
      summary: Publish Collection
      operationId: publish_collection_api_v1_collections__collection_id__publish_post
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/collections/{collection_id}/unpublish:
    post:
      tags:
      - Collections
      summary: Unpublish Collection
      operationId: unpublish_collection_api_v1_collections__collection_id__unpublish_post
      security:
      - HTTPBearer: []
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Collection Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PlaceStatus:
      type: string
      enum:
      - pending
      - active
      - closed
      title: PlaceStatus
    CollectionUpdate:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        emoji:
          anyOf:
          - type: string
          - type: 'null'
          title: Emoji
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
      type: object
      title: CollectionUpdate
    SourceType:
      type: string
      enum:
      - manual
      - google_import
      - url_import
      - screenshot
      - social_save
      title: SourceType
    CollectionTemplate:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        emoji:
          type: string
          title: Emoji
        description:
          type: string
          title: Description
        tags:
          items:
            type: string
          type: array
          title: Tags
        companion:
          type: string
          title: Companion
        vibes:
          items:
            type: string
          type: array
          title: Vibes
      type: object
      required:
      - id
      - name
      - emoji
      - description
      - tags
      - companion
      - vibes
      title: CollectionTemplate
    CollectionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        emoji:
          anyOf:
          - type: string
          - type: 'null'
          title: Emoji
        is_default:
          type: boolean
          title: Is Default
        is_public:
          type: boolean
          title: Is Public
        share_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Share Token
        cover_photos:
          items:
            type: string
          type: array
          title: Cover Photos
        items:
          items:
            $ref: '#/components/schemas/CollectionItemOut'
          type: array
          title: Items
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - name
      - description
      - emoji
      - is_default
      - is_public
      - share_token
      - cover_photos
      - items
      - created_at
      - updated_at
      title: CollectionResponse
    PlaceType:
      type: string
      enum:
      - park
      - playground
      - museum
      - cafe
      - restaurant
      - bar
      - activity
      - shopping
      - other
      title: PlaceType
    PublishResponse:
      properties:
        share_url:
          type: string
          title: Share Url
      type: object
      required:
      - share_url
      title: PublishResponse
    CollectionItemReorderRequest:
      properties:
        ordered_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Ordered Ids
      type: object
      required:
      - ordered_ids
      title: CollectionItemReorderRequest
    PlaceListItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
        lat:
          anyOf:
          - type: number
          - type: 'null'
          title: Lat
        lon:
          anyOf:
          - type: number
          - type: 'null'
          title: Lon
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        country_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Country Code
        place_type:
          anyOf:
          - $ref: '#/components/schemas/PlaceType'
          - type: 'null'
        category:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
        price_level:
          anyOf:
          - type: integer
          - type: 'null'
          title: Price Level
        rating:
          anyOf:
          - type: number
          - type: 'null'
          title: Rating
        photos:
          items:
            type: string
          type: array
          title: Photos
        photo_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Photo Url
        is_favourite:
          type: boolean
          title: Is Favourite
        status:
          $ref: '#/components/schemas/PlaceStatus'
        permanently_closed:
          type: boolean
          title: Permanently Closed
        source_type:
          anyOf:
          - $ref: '#/components/schemas/SourceType'
          - type: 'null'
        source:
          type: string
          title: Source
        user_rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: User Rating
        user_tags:
          items:
            type: string
          type: array
          title: User Tags
        tags:
          items:
            type: string
          type: array
          title: Tags
        saved_at:
          type: string
          format: date-time
          title: Saved At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        deleted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Deleted At
        is_deleted:
          type: boolean
          title: Is Deleted
        stroller_friendly:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Stroller Friendly
        has_changing_facilities:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Changing Facilities
        noise_level:
          anyOf:
          - type: string
          - type: 'null'
          title: Noise Level
        is_open_now:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Open Now
        visit_count:
          type: integer
          title: Visit Count
          default: 0
        distance_km:
          anyOf:
          - type: number
          - type: 'null'
          title: Distance Km
      type: object
      required:
      - id
      - name
      - address
      - lat
      - lon
      - city
      - country_code
      - place_type
      - category
      - price_level
      - rating
      - photos
      - is_favourite
      - status
      - permanently_closed
      - source_type
      - source
      - user_rating
      - user_tags
      - tags
      - saved_at
      - created_at
      - updated_at
      - deleted_at
      - is_deleted
      title: PlaceListItem
      description: 'Compact schema for list and map views.


        opening_hours detail is omitted; photos is trimmed to the first entry by

        the route handler before serialisation.'
    CollectionCreate:
      properties:
        name:
          type: string
          title: Name
        emoji:
          anyOf:
          - type: string
          - type: 'null'
          title: Emoji
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
      type: object
      required:
      - name
      title: CollectionCreate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CollectionItemOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        place_id:
          type: string
          format: uuid
          title: Place Id
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
        added_at:
          type: string
          format: date-time
          title: Added At
        sort_order:
          type: integer
          title: Sort Order
        place:
          $ref: '#/components/schemas/PlaceListItem'
      type: object
      required:
      - id
      - place_id
      - note
      - added_at
      - sort_order
      - place
      title: CollectionItemOut
    CollectionItemResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        place_id:
          type: string
          format: uuid
          title: Place Id
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
        added_at:
          type: string
          format: date-time
          title: Added At
        sort_order:
          type: integer
          title: Sort Order
      type: object
      required:
      - id
      - place_id
      - note
      - added_at
      - sort_order
      title: CollectionItemResponse
    CollectionItemUpdate:
      properties:
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      title: CollectionItemUpdate
    CollectionListItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        emoji:
          anyOf:
          - type: string
          - type: 'null'
          title: Emoji
        is_default:
          type: boolean
          title: Is Default
        is_public:
          type: boolean
          title: Is Public
        place_count:
          type: integer
          title: Place Count
        cover_photos:
          items:
            type: string
          type: array
          title: Cover Photos
        share_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Share Token
        sort_order:
          type: integer
          title: Sort Order
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - name
      - description
      - emoji
      - is_default
      - is_public
      - place_count
      - cover_photos
      - share_token
      - sort_order
      - created_at
      - updated_at
      title: CollectionListItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CollectionReorderRequest:
      properties:
        ordered_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Ordered Ids
      type: object
      required:
      - ordered_ids
      title: CollectionReorderRequest
    CollectionItemCreate:
      properties:
        place_id:
          type: string
          format: uuid
          title: Place Id
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - place_id
      title: CollectionItemCreate
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer