Skip to content

Commit

Permalink
docs(api): describe service instance status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nettoclaudio committed Aug 17, 2020
1 parent 18492e7 commit 8dec91c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,25 @@ paths:
text/plain:
example: failed to create instance on storage

/resources/{instance}/status:
get:
summary: Whether instance is running or not
description: This endpoint is part of Tsuru Service API.
tags:
- rpaas
parameters:
- in: path
name: instance
schema:
type: string
required: true
description: Instance name
responses:
'202':
description: Instance is pending (partially provisioned)
'204':
description: Instance is up and running

/resources/{instance}/info:
get:
summary: Get a summary informations about an instance
Expand Down

0 comments on commit 8dec91c

Please sign in to comment.