API-CLI
view release on metacpan or search on metacpan
examples/digitaloceancl-openapi.yaml view on Meta::CPAN
---
swagger: 2.0
info:
title: DigitalOcean API
description: Unofficial DigitalOcean API specification
version: 3
host: api.digitalocean.com
schemes: [https]
basePath: /v2
paths:
/account:
get:
description: Account information
parameters: []
/droplets:
get:
description: List all droplets
/droplets/:id:
get:
description: Retrieve a droplet by id
parameters:
- name: id
type: integer
required: true
in: path
/droplets/:id/actions:
post:
description: Trigger droplet action
parameters:
- name: type
in: body
description: action type
required: true
type:
enum:
- rename
- name: name
in: body
description: new droplet name
required: true
type: string
# vim:et:sts=2:sws=2:sw=2:foldmethod=indent
( run in 0.418 second using v1.01-cache-2.11-cpan-39bf76dae61 )