> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openvinyl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit a contribution

> Submit a missing or corrected value for a pressing or album. It is stored for review and does not change the catalog.

Send facts from a photo in `evidence` (for example `barcode_decoded`), never the photo. Automatic checks run on submit (barcode check digit, whether the value is already known, agreement with derived values) and are returned in `checks`.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/contributions
openapi: 3.1.0
info:
  title: Open Vinyl API
  description: >-
    Open catalog of vinyl albums and pressings built from Discogs (CC0),
    MusicBrainz (CC0), Wikidata (CC0) and Cover Art Archive links.
  version: 0.2.0
servers:
  - url: https://api.openvinyl.dev
    description: Open Vinyl API
  - url: http://127.0.0.1:8000
    description: self-hosted (openvinyl serve)
security:
  - {}
  - apiKey: []
paths:
  /v1/contributions:
    post:
      tags:
        - Contributions
      summary: Submit a contribution
      description: >-
        Submit a missing or corrected value for a pressing or album. It is
        stored for review and does not change the catalog.


        Send facts from a photo in `evidence` (for example `barcode_decoded`),
        never the photo. Automatic checks run on submit (barcode check digit,
        whether the value is already known, agreement with derived values) and
        are returned in `checks`.
      operationId: contribute_v1_contributions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Contribution'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Contribute V1 Contributions Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Contribution:
      properties:
        target_kind:
          type: string
          title: Target Kind
          examples:
            - pressing
        release_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Release Id
          examples:
            - 383812
        album_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Album Id
        field:
          type: string
          title: Field
          examples:
            - runout_b
        value:
          type: string
          maxLength: 2000
          minLength: 1
          title: Value
          examples:
            - 07863-680451 B SNA
        submitter:
          type: string
          maxLength: 100
          minLength: 3
          title: Submitter
          description: opaque id from your app
        client:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Client
        evidence:
          additionalProperties: true
          type: object
          title: Evidence
          description: facts extracted from a photo, never the photo itself
      type: object
      required:
        - target_kind
        - field
        - value
        - submitter
      title: Contribution
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: ov_live_…
      description: >-
        Optional. Keys raise the rate limit; without one, requests are limited
        per IP.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.