Loading ngsi-ld-api.yaml +47 −40 Original line number Diff line number Diff line Loading @@ -610,7 +610,7 @@ paths: schema: type: array items: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' application/json+ld: schema: allOf: Loading @@ -622,7 +622,7 @@ paths: $ref: '#/components/schemas/LdContext' - type: array items: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' '400': $ref: '#/components/responses/BadRequest' /csourceRegistrations/{registrationId}: Loading Loading @@ -653,7 +653,7 @@ paths: content: application/json: schema: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' application/json+ld: schema: allOf: Loading @@ -663,7 +663,7 @@ paths: properties: '@context': $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/CsourceRegistration' - $ref: '#/components/schemas/CsourceRegistrationStatus' '400': headers: NGSILD-Warning: Loading Loading @@ -3528,6 +3528,27 @@ components: Holds additional optional registration management information that can be used to limit unnecessary distributed operation requests. $ref: '#/components/schemas/RegistrationManagementInfo' additionalProperties: $ref: '#/components/schemas/AnyValue' CsourceRegistration: allOf: - $ref: '#/components/schemas/CsourceRegistrationFragment' - required: - type - information - endpoint CsourceRegistrationStatus: allOf: - $ref: '#/components/schemas/CsourceRegistration' - type: object properties: # Clause 5.2.2 Common members createdAt: $ref: '#/components/schemas/CreatedAt' modifiedAt: $ref: '#/components/schemas/ModifiedAt' deletedAt: $ref: '#/components/schemas/DeletedAt' status: description: | Read-only. Status of the Registration. It shall be "ok" if the last attempt to perform a distributed Loading Loading @@ -3557,22 +3578,8 @@ components: a failure (for instance, in the HTTP binding, an HTTP response code other than 2xx) was returned. type: string format: date-time # Clause 5.2.2 Common members createdAt: $ref: '#/components/schemas/CreatedAt' modifiedAt: $ref: '#/components/schemas/ModifiedAt' deletedAt: $ref: '#/components/schemas/DeletedAt' additionalProperties: $ref: '#/components/schemas/AnyValue' CsourceRegistration: allOf: - $ref: '#/components/schemas/CsourceRegistrationFragment' - required: - type - information - endpoint - id RegistrationInfo: description: | 5.2.10 RegistrationInfo. Loading Loading
ngsi-ld-api.yaml +47 −40 Original line number Diff line number Diff line Loading @@ -610,7 +610,7 @@ paths: schema: type: array items: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' application/json+ld: schema: allOf: Loading @@ -622,7 +622,7 @@ paths: $ref: '#/components/schemas/LdContext' - type: array items: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' '400': $ref: '#/components/responses/BadRequest' /csourceRegistrations/{registrationId}: Loading Loading @@ -653,7 +653,7 @@ paths: content: application/json: schema: $ref: '#/components/schemas/CsourceRegistration' $ref: '#/components/schemas/CsourceRegistrationStatus' application/json+ld: schema: allOf: Loading @@ -663,7 +663,7 @@ paths: properties: '@context': $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/CsourceRegistration' - $ref: '#/components/schemas/CsourceRegistrationStatus' '400': headers: NGSILD-Warning: Loading Loading @@ -3528,6 +3528,27 @@ components: Holds additional optional registration management information that can be used to limit unnecessary distributed operation requests. $ref: '#/components/schemas/RegistrationManagementInfo' additionalProperties: $ref: '#/components/schemas/AnyValue' CsourceRegistration: allOf: - $ref: '#/components/schemas/CsourceRegistrationFragment' - required: - type - information - endpoint CsourceRegistrationStatus: allOf: - $ref: '#/components/schemas/CsourceRegistration' - type: object properties: # Clause 5.2.2 Common members createdAt: $ref: '#/components/schemas/CreatedAt' modifiedAt: $ref: '#/components/schemas/ModifiedAt' deletedAt: $ref: '#/components/schemas/DeletedAt' status: description: | Read-only. Status of the Registration. It shall be "ok" if the last attempt to perform a distributed Loading Loading @@ -3557,22 +3578,8 @@ components: a failure (for instance, in the HTTP binding, an HTTP response code other than 2xx) was returned. type: string format: date-time # Clause 5.2.2 Common members createdAt: $ref: '#/components/schemas/CreatedAt' modifiedAt: $ref: '#/components/schemas/ModifiedAt' deletedAt: $ref: '#/components/schemas/DeletedAt' additionalProperties: $ref: '#/components/schemas/AnyValue' CsourceRegistration: allOf: - $ref: '#/components/schemas/CsourceRegistrationFragment' - required: - type - information - endpoint - id RegistrationInfo: description: | 5.2.10 RegistrationInfo. Loading