sources

Link a person to a source with a role

Changed on
post/api/sources/{id}/persons

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idstring required

Source ID

Request body

person_idstring required
positioninteger nullable
role'author' | 'editor' | 'translator' | 'contributor' required

Stored as the Postgres enum source_person_role.

Response

Person linked to source

Changes

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new author enum value to the request property

    • info

      added the new contributor enum value to the request property

    • info

      added the new editor enum value to the request property

    • info

      added the new translator enum value to the request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status