openapi: 3.0.1 info: version: v3 paths: /v1/edrs/request: post: deprecated: true description: Request all Edr entries according to a particular query operationId: requestEdrEntriesV1 requestBody: content: application/json: schema: $ref: "#/components/schemas/QuerySpec" responses: "200": content: application/json: schema: type: array items: $ref: "#/components/schemas/EndpointDataReferenceEntry" description: The edr entries matching the query "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: Request body was malformed tags: - EDR Cache V1 /v1/edrs/{transferProcessId}: delete: deprecated: true description: Removes an EDR entry given the transfer process ID operationId: removeEdrEntryV1 parameters: - in: path name: transferProcessId required: true schema: type: string responses: "204": description: EDR entry was deleted successfully "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: "Request was malformed, e.g. id was null" "404": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: An EDR entry with the given ID does not exist tags: - EDR Cache V1 /v1/edrs/{transferProcessId}/dataaddress: get: deprecated: true description: Gets the EDR data address with the given transfer process ID operationId: getEdrEntryDataAddressV1 parameters: - in: path name: transferProcessId required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DataAddress" description: The data address "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: "Request was malformed, e.g. id was null" "404": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: An EDR data address with the given transfer process ID does not exist tags: - EDR Cache V1 /v3/edrs/request: post: description: Request all Edr entries according to a particular query operationId: requestEdrEntriesV3 requestBody: content: application/json: schema: $ref: "#/components/schemas/QuerySpec" responses: "200": content: application/json: schema: type: array items: $ref: "#/components/schemas/EndpointDataReferenceEntry" description: The edr entries matching the query "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: Request body was malformed tags: - EDR Cache V3 /v3/edrs/{transferProcessId}: delete: description: Removes an EDR entry given the transfer process ID operationId: removeEdrEntryV3 parameters: - in: path name: transferProcessId required: true schema: type: string responses: "204": description: EDR entry was deleted successfully "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: "Request was malformed, e.g. id was null" "404": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: An EDR entry with the given ID does not exist tags: - EDR Cache V3 /v3/edrs/{transferProcessId}/dataaddress: get: description: Gets the EDR data address with the given transfer process ID operationId: getEdrEntryDataAddressV3 parameters: - in: path name: transferProcessId required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/DataAddress" description: The data address "400": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: "Request was malformed, e.g. id was null" "404": content: application/json: schema: type: array items: $ref: "#/components/schemas/ApiErrorDetail" description: An EDR data address with the given transfer process ID does not exist tags: - EDR Cache V3 components: schemas: ApiErrorDetail: type: object example: message: error message type: ErrorType path: object.error.path invalidValue: this value is not valid properties: invalidValue: type: string message: type: string path: type: string type: type: string Criterion: type: object example: '@context': '@vocab': https://w3id.org/edc/v0.0.1/ns/ '@type': Criterion operandLeft: fieldName operator: = operandRight: some value properties: '@type': type: string example: https://w3id.org/edc/v0.0.1/ns/Criterion operandLeft: type: object operandRight: type: object operator: type: string required: - operandLeft - operandRight - operator DataAddress: type: object properties: '@type': type: string example: https://w3id.org/edc/v0.0.1/ns/DataAddress type: type: string EndpointDataReferenceEntry: type: object example: '@context': '@vocab': https://w3id.org/edc/v0.0.1/ns/ '@id': transfer-process-id transferProcessId: transfer-process-id agreementId: agreement-id contractNegotiationId: contract-negotiation-id assetId: asset-id providerId: provider-id createdAt: 1688465655 properties: '@id': type: string '@type': type: string example: https://w3id.org/edc/v0.0.1/ns/EndpointDataReferenceEntry JsonArray: type: array items: $ref: "#/components/schemas/JsonValue" properties: empty: type: boolean valueType: type: string enum: - ARRAY - OBJECT - STRING - NUMBER - "TRUE" - "FALSE" - "NULL" JsonObject: type: object additionalProperties: $ref: "#/components/schemas/JsonValue" properties: empty: type: boolean valueType: type: string enum: - ARRAY - OBJECT - STRING - NUMBER - "TRUE" - "FALSE" - "NULL" JsonValue: type: object properties: valueType: type: string enum: - ARRAY - OBJECT - STRING - NUMBER - "TRUE" - "FALSE" - "NULL" QuerySpec: type: object example: '@context': '@vocab': https://w3id.org/edc/v0.0.1/ns/ '@type': QuerySpec offset: 5 limit: 10 sortOrder: DESC sortField: fieldName filterExpression: [] properties: '@type': type: string example: https://w3id.org/edc/v0.0.1/ns/QuerySpec filterExpression: type: array items: $ref: "#/components/schemas/Criterion" limit: type: integer format: int32 offset: type: integer format: int32 sortField: type: string sortOrder: type: string enum: - ASC - DESC