Skip to content

Commit

Permalink
Merge pull request #139 from openziti/handle-not-found-on-delete
Browse files Browse the repository at this point in the history
Map 404s correctly for deletes. Fixes #138
  • Loading branch information
plorenz authored Dec 12, 2024
2 parents d76bff4 + b09ebf5 commit 069d9b5
Show file tree
Hide file tree
Showing 363 changed files with 19,815 additions and 909 deletions.
40 changes: 39 additions & 1 deletion client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.26.35
version: 0.26.36
host: demo.ziti.dev
basePath: /edge/client/v1
paths:
Expand Down Expand Up @@ -2806,6 +2806,11 @@ paths:
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"503":
description: The request could not be completed due to the server being
busy or in a temporarily bad state
schema:
$ref: '#/definitions/apiErrorEnvelope'
put:
security:
- ztSession: []
Expand Down Expand Up @@ -2913,6 +2918,11 @@ paths:
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"503":
description: The request could not be completed due to the server being
busy or in a temporarily bad state
schema:
$ref: '#/definitions/apiErrorEnvelope'
delete:
security:
- ztSession: []
Expand Down Expand Up @@ -2977,6 +2987,24 @@ paths:
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"404":
description: The requested resource does not exist
schema:
$ref: '#/definitions/apiErrorEnvelope'
examples:
application/json:
error:
args:
urlVars:
id: 71a3000f-7dda-491a-9b90-a19f4ee6c406
cause: null
causeMessage: ""
code: NOT_FOUND
message: The resource requested was not found or is no longer available
requestId: 270908d6-f2ef-4577-b973-67bec18ae376
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"409":
description: The resource requested to be removed/altered cannot be as it
is referenced by another object.
Expand Down Expand Up @@ -3014,6 +3042,11 @@ paths:
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"503":
description: The request could not be completed due to the server being
busy or in a temporarily bad state
schema:
$ref: '#/definitions/apiErrorEnvelope'
patch:
security:
- ztSession: []
Expand Down Expand Up @@ -3121,6 +3154,11 @@ paths:
meta:
apiEnrollmentVersion: 0.0.1
apiVersion: 0.0.1
"503":
description: The request could not be completed due to the server being
busy or in a temporarily bad state
schema:
$ref: '#/definitions/apiErrorEnvelope'
parameters:
- type: string
description: The id of the requested resource
Expand Down
Loading

0 comments on commit 069d9b5

Please sign in to comment.