publiq Ownerships API

The Ownerships API from publiq — 4 operation(s) for ownerships.

Operations 5

POST /ownerships ownership - request #
GET /ownerships ownership - get #
DELETE /ownerships/{ownershipId} ownership - delete #
POST /ownerships/{ownershipId}/approve ownership - approve #
POST /ownerships/{ownershipId}/reject ownership - reject #

Documentation

Specifications

Schemas & Data

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/publiq:publiq-ownerships-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

publiq-ownerships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Entry Ownerships API
  version: '3.0'
  description: With UiTdatabank's Entry API you can create new events, places and organizers, and add extra info to them with specific requests to add/update properties. For example there are operations to add a label, remove a label, add an image, and so on.
  contact:
    name: publiq helpdesk
    email: technical-support@publiq.be
    url: https://docs.publiq.be
  x-source: https://raw.githubusercontent.com/cultuurnet/apidocs/main/../../../private/tmp/publiq-src/apidocs-main/projects/uitdatabank/reference/entry.json
servers:
- url: https://io-test.uitdatabank.be
  description: Testing
- url: https://io.uitdatabank.be
  description: Production
tags:
- name: Ownerships
paths:
  /ownerships:
    post:
      summary: ownership - request
      description: Request the ownership of a given item
      operationId: ownership-request
      tags:
      - Ownerships
      responses:
        '201':
          description: The ownership has been requested
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: The id of newly created ownership.
                required:
                - id
              examples:
                Example:
                  value:
                    id: 6b476d79-c404-425f-8b1c-357e39a60410
        '400':
          description: 'Bad Request. Possible error types:


            * https://api.publiq.be/probs/body/missing

            * https://api.publiq.be/probs/body/invalid-syntax

            * https://api.publiq.be/probs/body/invalid-data

            * https://api.publiq.be/probs/uitdatabank/duplicate-url'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error'
              examples: {}
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      requestBody:
        description: The details of an ownership to create
        content:
          application/json:
            schema:
              type: object
              x-internal: true
              properties:
                itemId:
                  title: legacy.uuid
                  type: string
                  format: string
                  description: The unique id of a resource. For historical reasons, the last hyphen is sometimes missing.
                  pattern: '[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-?[0-9A-Fa-f]{12}'
                  examples:
                  - 11fe97ba-060f-4859-ad35-f202ea9d2e72
                  - 692CC7D8-AAA7-4CC7-B8C02840528CA2E1
                itemType:
                  title: itemType
                  description: The possible resource types used in UiTdatabank.
                  type: string
                  example: event
                  enum:
                  - event
                  - place
                  - organizer
                ownerId:
                  title: creator
                  type: string
                  description: The unique identifier of a user or API client.
                  examples:
                  - auth0|45c0d021-c78f-445f-adef-be3355b23e4f
                  - rLlc90TSFBDRQbZwzP5vm2niDXI1CZef@clients
                  - a9363e98-8a24-46a9-ad29-f175d7181138
                  - google-oauth2|108326107941662286958
                  - example@emails-are-legacy-but-may-occur.com
                  minLength: 1
                  pattern: \S
                  readOnly: true
                ownerEmail:
                  type: string
                  description: The email of the owner
                  format: email
                  example: info@example.com
                  readOnly: true
              required:
              - itemId
              - itemType
              examples:
              - itemId: e1a58cbd-cd4b-4295-bea0-baf123c77fd4
                itemType: organizer
              - itemId: e1a58cbd-cd4b-4295-bea0-baf123c77fd4
                itemType: organizer
                ownerId: 7a583ed3-cbc1-481d-93b1-d80fff0174dd
              - itemId: e1a58cbd-cd4b-4295-bea0-baf123c77fd4
                itemType: organizer
                ownerEmail: foo@bar.com
      security:
      - USER_ACCESS_TOKEN: []
      - CLIENT_ACCESS_TOKEN: []
      x-internal: true
    get:
      summary: ownership - get
      operationId: get-ownerships
      responses:
        '200':
          description: A list of ownership requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  itemsPerPage:
                    type: integer
                    example: 30
                    description: The amount of results that is being returned per page.
                  totalItems:
                    type: integer
                    example: 2345
                    description: Total amount of results for the given query parameters.
                  member:
                    type: array
                    description: Search results (paginated).
                    items:
                      title: ownership
                      type: object
                      description: An ownership request between an owner and an item
                      properties:
                        id:
                          title: uuid
                          type: string
                          format: uuid
                          description: UUID
                          examples:
                          - 46e9ea9f-fc42-4759-a81b-4308467b7c35
                        itemId:
                          title: legacy.uuid
                          type: string
                          format: string
                          description: The unique id of a resource. For historical reasons, the last hyphen is sometimes missing.
                          pattern: '[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-?[0-9A-Fa-f]{12}'
                          examples:
                          - 11fe97ba-060f-4859-ad35-f202ea9d2e72
                          - 692CC7D8-AAA7-4CC7-B8C02840528CA2E1
                        itemType:
                          title: itemType
                          description: The possible resource types used in UiTdatabank.
                          type: string
                          example: event
                          enum:
                          - event
                          - place
                          - organizer
                        ownerId:
                          title: creator
                          type: string
                          description: The unique identifier of a user or API client.
                          examples:
                          - auth0|45c0d021-c78f-445f-adef-be3355b23e4f
                          - rLlc90TSFBDRQbZwzP5vm2niDXI1CZef@clients
                          - a9363e98-8a24-46a9-ad29-f175d7181138
                          - google-oauth2|108326107941662286958
                          - example@emails-are-legacy-but-may-occur.com
                          minLength: 1
                          pattern: \S
                          readOnly: true
                        ownerEmail:
                          type: string
                          description: Email address of the owner.
                          format: email
                          example: info@example.com
                          readOnly: true
                        requesterId:
                          title: creator
                          type: string
                          description: The unique identifier of a user or API client.
                          examples:
                          - auth0|45c0d021-c78f-445f-adef-be3355b23e4f
                          - rLlc90TSFBDRQbZwzP5vm2niDXI1CZef@clients
                          - a9363e98-8a24-46a9-ad29-f175d7181138
                          - google-oauth2|108326107941662286958
                          - example@emails-are-legacy-but-may-occur.com
                          minLength: 1
                          pattern: \S
                          readOnly: true
                        requesterEmail:
                          type: string
                          description: Email address of the requester.
                          format: email
                          example: info@example.com
                          readOnly: true
                        state:
                          type: string
                          enum:
                          - requested
                          - approved
                          - rejected
                          - deleted
                          description: The state of an ownership request
                          example: requested
                        created:
                          title: datetime.readOnly
                          description: Datetime in ISO-8601 format.
                          type: string
                          format: date-time
                          readOnly: true
                          examples:
                          - '2021-05-17T22:00:00+00:00'
                        modified:
                          title: datetime.readOnly
                          description: Datetime in ISO-8601 format.
                          type: string
                          format: date-time
                          readOnly: true
                          examples:
                          - '2021-05-17T22:00:00+00:00'
                      required:
                      - id
                      - itemId
                      - itemType
                      - ownerId
                      - ownerEmail
                      - requesterId
                      - requesterEmail
                      - state
                      - created
                      - modified
                required:
                - itemsPerPage
                - totalItems
                - member
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Ownerships
      description: Get one or more ownership requests based on parameters
      parameters:
      - schema:
          type: string
          format: uuid
        in: query
        name: itemId
        description: The UUID of the item to get the ownerships from
      - schema:
          type: string
          enum:
          - requested
          - approved
          - rejected
          - deleted
          description: The state of an ownership request
          example: requested
        in: query
        name: state
        description: Filter ownership requests by a given state
      - schema:
          type: integer
          minimum: 0
          default: 0
        in: query
        name: start
        description: Position to start returning results from. When set to `0` the results starting from the very first position will be returned. When set to for example `10` the results 0-9 will be skipped and the ones starting from position 10 will be returned. Can be used in combination with `limit` for pagination.
      - schema:
          type: integer
          default: 20
          minimum: 0
        in: query
        name: limit
        description: 'Maximum amount of results to return. Can be used in combination with `start` for pagination. **Important**: the maximum value for `limit` is `500`. Exceeding this value will result in an error.'
      x-internal: true
  /ownerships/{ownershipId}:
    parameters:
    - $ref: '#/components/parameters/ownershipId'
    delete:
      summary: ownership - delete
      operationId: delete-ownerships-ownershipId
      responses:
        '204':
          description: No Content
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      description: Delete a specific ownership
      x-internal: true
      tags:
      - Ownerships
      security:
      - USER_ACCESS_TOKEN: []
      - CLIENT_ACCESS_TOKEN: []
  /ownerships/{ownershipId}/approve:
    parameters:
    - $ref: '#/components/parameters/ownershipId'
    post:
      summary: ownership - approve
      operationId: post-ownership-approve
      responses:
        '204':
          description: No Content
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Ownerships
      security:
      - USER_ACCESS_TOKEN: []
      - CLIENT_ACCESS_TOKEN: []
      description: Approve a given ownership
      x-internal: true
  /ownerships/{ownershipId}/reject:
    parameters:
    - $ref: '#/components/parameters/ownershipId'
    post:
      summary: ownership - reject
      operationId: post-ownership-reject
      responses:
        '204':
          description: No Content
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Ownerships
      security:
      - USER_ACCESS_TOKEN: []
      - CLIENT_ACCESS_TOKEN: []
      description: Reject a given ownership
      x-internal: true
components:
  parameters:
    ownershipId:
      name: ownershipId
      in: path
      required: true
      schema:
        type: string
        format: uuid
        example: F2D5D20C-CC98-4979-9CD2-453ABAD979B5
      description: Unique id of an ownership, in the format of a UUID
  schemas:
    Error:
      title: Error
      type: object
      description: RFC7807 error model for all publiq APIs.
      properties:
        type:
          type: string
          description: A URI reference that identifies the problem type. Can be used to recognize specific errors in your application code by comparing the complete URI.
        title:
          type: string
          description: A short, human-readable summary of the problem type (for developers).
        status:
          type: integer
          description: The HTTP status code.
        detail:
          type: string
          description: 'A human-readable explanation specific to this occurrence of the problem (for developers). '
        endUserMessage:
          type: object
          description: A human-readable explanation of the problem, specifically for end-users, in one or more languages. Typically available for domain errors, but not for errors caused by a technical issue in the integration (for example invalid JSON syntax in a request body). An `nl` value is always provided, other languages may be provided depending on the API and its intended audience. When this property is included, it is strongly encouraged to show this to the end-user.
          properties:
            nl:
              type: string
              description: A human-readable explanation of the problem, specifically for end-users, localized in Dutch.
            fr:
              type: string
              description: A human-readable explanation of the problem, specifically for end-users, localized in French.
            de:
              type: string
              description: A human-readable explanation of the problem, specifically for end-users, localized in German.
            en:
              type: string
              description: A human-readable explanation of the problem, specifically for end-users, localized in English.
          required:
          - nl
        schemaErrors:
          type: array
          description: A list of one or more schema validation errors (usually used for error type https://api.publiq.be/probs/body/invalid-data).
          items:
            type: object
            properties:
              jsonPointer:
                type: string
                format: json-pointer
                description: RFC6901 compliant pointer that indicates what property/value was invalid.
              error:
                type: string
                description: A human-readable (but often technical) reason why the property was invalid.
            required:
            - jsonPointer
            - error
      required:
      - type
      - title
      - status
      x-internal: false
  responses:
    Forbidden:
      description: 'Forbidden. Your request was successfully authenticated but you do not have permission to perform this particular request.


        * type: https://api.publiq.be/probs/auth/forbidden

        * detail: might contain a developer-readable explanation of the reason'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Example:
              value:
                type: https://api.publiq.be/probs/auth/forbidden
                title: Forbidden
                status: 403
                detail: user must be admin of organizer abcd1234
    Unauthorized:
      description: 'Unauthorized. Your request is missing the required credentials to authenticate. See the Authentication documentation for more info.


        * type: https://api.publiq.be/probs/auth/unauthorized

        * detail: might contain a developer-readable explanation of the reason'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Example:
              value:
                type: https://api.publiq.be/probs/auth/unauthorized
                title: Unauthorized
                status: 401
    NotFound:
      description: 'The requested resource (URL) could not be found.

        This can be due to one of multiple reasons:


        * The endpoint has a typo and/or does not exist on the API

        * One of the path parameters contains a value that is invalid or does not exist

        * One of the required query parameters is missing

        * One of the query parameters has an invalid value


        The `detail` property of the response should contain more specific information.


        The `type` will always be `https://api.publiq.be/probs/url/not-found`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Example:
              value:
                type: https://api.publiq.be/probs/url/not-found
                title: URL not found
                status: 404
                detail: The resource with id "76C6AC08-763C-492E-A68C-CBC43A857229" was not found.
  securitySchemes:
    USER_ACCESS_TOKEN:
      type: oauth2
      flows: {}
      description: A user access token, obtained by redirecting the end user to publiq's authorization server to login using the **Authorization Code OAuth Flow**. See the [authentication docs about user access tokens](https://docs.publiq.be/docs/authentication/methods/client-access-token) for more info.
    CLIENT_ACCESS_TOKEN:
      type: oauth2
      flows: {}
      description: A client access token, obtained by exchanging your client id and client secret for a token via an HTTP request to publiq's authorization server using the **Client Credentials OAuth Flow**. See the [authentication docs about client access tokens](https://docs.publiq.be/docs/authentication/methods/user-access-token) for more info.