description: Create a read request
operationId: readDataJob
parameters:
- - $ref: '#/dmi-components/parameters/destinationInQuery'
+ - $ref: '#/components/parameters/destinationInQuery'
requestBody:
description: Operation body
content:
application/3gpp-json-patch+json:
schema:
- $ref: '#/dmi-components/schemas/SubjobReadRequest'
+ $ref: '#/components/schemas/SubjobReadRequest'
tags:
- dmi-datajob
responses:
"501":
- $ref: '#/dmi-components/responses/NotImplemented'
+ $ref: '#/components/responses/NotImplemented'
/v1/cmwriteJob:
post:
description: Create a write request
operationId: writeDataJob
parameters:
- - $ref: '#/dmi-components/parameters/destinationInQuery'
+ - $ref: '#/components/parameters/destinationInQuery'
requestBody:
description: Operation body
content:
application/3gpp-json-patch+json:
schema:
- $ref: '#/dmi-components/schemas/SubjobWriteRequest'
+ $ref: '#/components/schemas/SubjobWriteRequest'
tags:
- dmi-datajob
responses:
"501":
- $ref: '#/dmi-components/responses/NotImplemented'
+ $ref: '#/components/responses/NotImplemented'
/v1/cmwriteJob/dataProducer/{dataProducerId}/dataProducerJob/{dataProducerJobId}/status:
get:
description: Retrieve the status of a specific data job.
operationId: getDataJobStatus
parameters:
- - $ref: '#/dmi-components/parameters/dataProducerIdInPath'
- - $ref: '#/dmi-components/parameters/dataProducerJobIdInPath'
+ - $ref: '#/components/parameters/dataProducerIdInPath'
+ - $ref: '#/components/parameters/dataProducerJobIdInPath'
tags:
- dmi-datajob
responses:
"501":
- $ref: '#/dmi-components/responses/NotImplemented'
+ $ref: '#/components/responses/NotImplemented'
/v1/cmwriteJob/dataProducer/{dataProducerId}/dataProducerJob/{dataProducerJobId}/result:
get:
description: Retrieve the result of a data job.
operationId: getDataJobResult
parameters:
- - $ref: '#/dmi-components/parameters/dataProducerIdInPath'
- - $ref: '#/dmi-components/parameters/dataProducerJobIdInPath'
- - $ref: '#/dmi-components/parameters/destinationInQuery'
+ - $ref: '#/components/parameters/dataProducerIdInPath'
+ - $ref: '#/components/parameters/dataProducerJobIdInPath'
+ - $ref: '#/components/parameters/destinationInQuery'
tags:
- dmi-datajob
responses:
"501":
- $ref: '#/dmi-components/responses/NotImplemented'
+ $ref: '#/components/responses/NotImplemented'
-dmi-components:
+components:
parameters:
requestIdInPath:
description: Identifier for the overall Datajob
type: string
cmHandleProperties:
description: Private properties of the cm handle for the given path
- $ref: '#/dmi-components/schemas/CmHandleProperties'
+ $ref: '#/components/schemas/CmHandleProperties'
SubjobWriteRequest:
type: object
required:
type: string
cmHandleProperties:
description: Private properties of the cm handle for the given path
- $ref: '#/dmi-components/schemas/CmHandleProperties'
+ $ref: '#/components/schemas/CmHandleProperties'
value:
description: Value dependent on the op specified. Resource for an add. Object for a replace. ActionParameters for an action.
type: object
oneOf:
- - $ref: '#/dmi-components/schemas/Resource'
- - $ref: '#/dmi-components/schemas/ActionParameters'
- - $ref: '#/dmi-components/schemas/Object'
+ - $ref: '#/components/schemas/Resource'
+ - $ref: '#/components/schemas/ActionParameters'
+ - $ref: '#/components/schemas/Object'
CmHandleProperties:
description: Private properties of the cm handle for the given path
type: object
content:
application/json:
schema:
- $ref: '#/dmi-components/schemas/ErrorMessage'
+ $ref: '#/components/schemas/ErrorMessage'
example:
status: 501
message: Not Implemented