Loading API/common/commonopenapi.yaml +16 −0 Original line number Diff line number Diff line Loading @@ -153,6 +153,22 @@ schema: $ref: '#/components/schemas/Error' example: "Success request" 200_UuidResponse: description: OK, return the UUID of the Trackable defined by the world storage. content: application/json: schema: $ref: '#/components/schemas/Error' example: "777266da-e286-11ec-8fea-0242ac120002" 201_NullResponse: description: Null response. content: application/json: schema: $ref: '#/components/schemas/Error' example: "string" ##################### # 3xx : Redirection # ##################### Loading API/worldstorage/worldstorageopenapi.yaml +28 −93 Original line number Diff line number Diff line Loading @@ -170,19 +170,9 @@ paths: $ref: '#/components/schemas/Trackable' responses: '200': description: OK, return the UUID of the Trackable defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -209,12 +199,7 @@ paths: $ref: '#/components/schemas/Trackable' responses: '200': description: OK, return the UUID of the modified Trackable. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -242,12 +227,7 @@ paths: items : $ref: "#/components/schemas/Trackable" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -277,6 +257,8 @@ paths: application/json: schema: $ref: '#/components/schemas/Trackable' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -301,12 +283,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfully deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading Loading @@ -336,19 +313,9 @@ paths: $ref: '#/components/schemas/WorldAnchor' responses: '200': description: OK, return the UUID of the World Anchor defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -375,12 +342,9 @@ paths: $ref: '#/components/schemas/WorldAnchor' responses: '200': description: OK, return the UUID of the modified World Anchor. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -408,12 +372,7 @@ paths: items : $ref: "#/components/schemas/WorldAnchor" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -443,6 +402,8 @@ paths: application/json: schema: $ref: '#/components/schemas/WorldAnchor' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -467,12 +428,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfuly deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading Loading @@ -502,19 +458,9 @@ paths: $ref: '#/components/schemas/WorldLink' responses: '200': description: OK, return the UUID of the World Link defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -541,12 +487,9 @@ paths: $ref: '#/components/schemas/WorldLink' responses: '200': description: OK, return the UUID of the modified World Link. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -574,12 +517,7 @@ paths: items : $ref: "#/components/schemas/WorldLink" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -609,6 +547,8 @@ paths: application/json: schema: $ref: '#/components/schemas/WorldLink' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -633,12 +573,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfully deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading Loading
API/common/commonopenapi.yaml +16 −0 Original line number Diff line number Diff line Loading @@ -153,6 +153,22 @@ schema: $ref: '#/components/schemas/Error' example: "Success request" 200_UuidResponse: description: OK, return the UUID of the Trackable defined by the world storage. content: application/json: schema: $ref: '#/components/schemas/Error' example: "777266da-e286-11ec-8fea-0242ac120002" 201_NullResponse: description: Null response. content: application/json: schema: $ref: '#/components/schemas/Error' example: "string" ##################### # 3xx : Redirection # ##################### Loading
API/worldstorage/worldstorageopenapi.yaml +28 −93 Original line number Diff line number Diff line Loading @@ -170,19 +170,9 @@ paths: $ref: '#/components/schemas/Trackable' responses: '200': description: OK, return the UUID of the Trackable defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -209,12 +199,7 @@ paths: $ref: '#/components/schemas/Trackable' responses: '200': description: OK, return the UUID of the modified Trackable. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -242,12 +227,7 @@ paths: items : $ref: "#/components/schemas/Trackable" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -277,6 +257,8 @@ paths: application/json: schema: $ref: '#/components/schemas/Trackable' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -301,12 +283,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfully deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading Loading @@ -336,19 +313,9 @@ paths: $ref: '#/components/schemas/WorldAnchor' responses: '200': description: OK, return the UUID of the World Anchor defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -375,12 +342,9 @@ paths: $ref: '#/components/schemas/WorldAnchor' responses: '200': description: OK, return the UUID of the modified World Anchor. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -408,12 +372,7 @@ paths: items : $ref: "#/components/schemas/WorldAnchor" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -443,6 +402,8 @@ paths: application/json: schema: $ref: '#/components/schemas/WorldAnchor' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -467,12 +428,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfuly deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading Loading @@ -502,19 +458,9 @@ paths: $ref: '#/components/schemas/WorldLink' responses: '200': description: OK, return the UUID of the World Link defined by the world storage. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '409': Loading @@ -541,12 +487,9 @@ paths: $ref: '#/components/schemas/WorldLink' responses: '200': description: OK, return the UUID of the modified World Link. content: text/plain: schema: type: string example: "777266da-e286-11ec-8fea-0242ac120002" $ref: '../common/commonopenapi.yaml#/components/responses/200_UuidResponse' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_BadRequest' '404': Loading Loading @@ -574,12 +517,7 @@ paths: items : $ref: "#/components/schemas/WorldLink" '201': description: Null response. content: text/plain: schema: type: string example: "" $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' default: $ref: '../common/commonopenapi.yaml#/components/responses/4xx_UnexpectedError' Loading Loading @@ -609,6 +547,8 @@ paths: application/json: schema: $ref: '#/components/schemas/WorldLink' '201': $ref: '../common/commonopenapi.yaml#/components/responses/201_NullResponse' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading @@ -633,12 +573,7 @@ paths: format: uuid responses: '200': description: OK, delete successful. content: text/plain: schema: type: string example: "Element succesfully deleted" $ref: '../common/commonopenapi.yaml#/components/schemas/200_SuccessRequest' '400': $ref: '../common/commonopenapi.yaml#/components/responses/400_InvalidUUID' '404': Loading