Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions stainless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,20 @@ resources:
port_mapping: "#/components/schemas/PortMapping"
instance: "#/components/schemas/Instance"
path_info: "#/components/schemas/PathInfo"
instance_stats: "#/components/schemas/InstanceStats"
methods:
list: get /instances
create: post /instances
get: get /instances/{id}
delete: delete /instances/{id}
standby: post /instances/{id}/standby
restore: post /instances/{id}/restore
fork: post /instances/{id}/fork
start: post /instances/{id}/start
stop: post /instances/{id}/stop
logs: get /instances/{id}/logs
stat: get /instances/{id}/stat
stats: get /instances/{id}/stats
# Subresources define resources that are nested within another for more powerful
# logical groupings, e.g. `cards.payments`.
subresources:
Expand Down