openapi: 3.0.3 info: title: Weaviate REST authz references API description: '# Introduction
Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.
### Base Path
The base path for the Weaviate server is structured as `[YOUR-WEAVIATE-HOST]:[PORT]/v1`. As an example, if you wish to access the `schema` endpoint on a local instance, you would navigate to `http://localhost:8080/v1/schema`. Ensure you replace `[YOUR-WEAVIATE-HOST]` and `[PORT]` with your actual server host and port number respectively.
### Questions?
If you have any comments or questions, please feel free to reach out to us at the community forum [https://forum.weaviate.io/](https://forum.weaviate.io/).
### Issues?
If you find a bug or want to file a feature request, please open an issue on our GitHub repository for [Weaviate](https://github.com/weaviate/weaviate).
### Need more documentation?
For a quickstart, code examples, concepts and more, please visit our [documentation page](https://docs.weaviate.io/weaviate).' version: 1.38.0-dev servers: - url: http://localhost:8080 description: Local Weaviate instance security: - ApiKeyAuth: [] - BearerAuth: [] tags: - name: references paths: /batch/references: post: summary: Weaviate Create Cross-References In Bulk description: Batch create cross-references between collection items in bulk. tags: - references operationId: batch.references.create parameters: - name: consistency_level in: query required: false description: Determines how many replicas must acknowledge a request before it is considered successful. schema: type: string requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/BatchReference' responses: '200': description: 'Request Successful. Warning: A successful request does not guarantee that every batched reference was successfully created. Inspect the response body to see which references succeeded and which failed.' content: application/json: schema: type: array items: $ref: '#/components/schemas/BatchReferenceResponse' '400': description: Malformed request. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized or invalid credentials. '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request. Ensure the collection exists and the object properties are valid. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '500': description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' x-microcks-operation: delay: 100 components: schemas: BatchReferenceResponse: allOf: - $ref: '#/components/schemas/BatchReference' - properties: result: format: object description: Results for this specific reference. properties: status: type: string enum: - SUCCESS - FAILED default: SUCCESS errors: $ref: '#/components/schemas/ErrorResponse' ErrorResponse: type: object description: An error response returned by Weaviate endpoints. properties: error: type: array items: type: object properties: message: type: string BatchReference: properties: from: type: string format: uri description: Long-form beacon-style URI to identify the source of the cross-reference, including the property name. Should be in the form of `weaviate://localhost/objects///`, where `` and `` must represent the cross-reference property of the source class to be used. example: weaviate://localhost/Zoo/a5d09582-4239-4702-81c9-92a6e0122bb4/hasAnimals to: type: string format: uri description: Short-form URI to point to the cross-reference. Should be in the form of `weaviate://localhost/` for the example of a local cross-reference to an object. example: weaviate://localhost/97525810-a9a5-4eb0-858a-71449aeb007f tenant: type: string description: Name of the reference tenant. securitySchemes: ApiKeyAuth: type: apiKey in: header name: Authorization description: API key authentication BearerAuth: type: http scheme: bearer bearerFormat: JWT description: OIDC/JWT bearer authentication