openapi: 3.2.0 info: description: Backend API for the Stanford Digital Repository version: 1.0.0 title: DOR Services Integrations API license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html servers: - url: https://dor-services-{env}.stanford.edu description: Production service variables: env: default: prod - url: https://dor-services-{env}.stanford.edu description: Staging service variables: env: default: stage - url: https://dor-services-{env}.stanford.edu description: QA service variables: env: default: qa security: - bearerAuth: [] tags: - name: integrations description: Integrations with other Systems paths: /v1/objects/{id}/reindex: post: tags: - integrations summary: Reindex the object in Solr description: '' operationId: objects#reindex responses: '204': description: OK parameters: - name: id in: path description: ID of object required: true schema: $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/Druid /v1/objects/{id}/indexable: post: tags: - integrations summary: Validate the object for indexing in Solr without actually indexing it description: '' operationId: objects#indexable parameters: - name: id in: path description: ID of object required: true schema: $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/Druid requestBody: required: true content: application/json: schema: oneOf: - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/DRO - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/DROWithMetadata - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/Collection - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/CollectionWithMetadata - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/AdminPolicy - $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/AdminPolicyWithMetadata responses: '204': description: OK '422': description: Index validation has failed content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '500': description: Server error /v1/objects/{id}/refresh_metadata: post: tags: - integrations summary: Update object metadata with marc from Symphony description: '' operationId: metadata_refresh#refresh_metadata responses: '200': description: OK '400': description: Catkey not found in Symphony. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: Unprocessable entity. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' parameters: - name: id in: path description: ID of object required: true schema: $ref: https://raw.githubusercontent.com/sul-dlss/cocina-models/refs/tags/v0.113.0/schema.json#/$defs/Druid components: schemas: ErrorResponse: type: object properties: errors: type: array items: $ref: '#/components/schemas/Error' Error: type: object properties: title: type: string description: a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem. example: Invalid Attribute detail: type: string description: a human-readable explanation specific to this occurrence of the problem. example: Title must contain at least three characters. meta: type: object description: used to include non-standard meta-information example: backtrace: - where things went wrong source: type: object properties: pointer: type: string example: /data/attributes/title securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT