eleven / messenger Public

Clone
git clone https://amadan.net/eleven/messenger

Plain git — no account needed to clone.

Download

Download this file

1{
2 "schema": 1,
3 "id": "dnsimple",
4 "name": "DNSimple",
5 "category": "domains",
6 "auth": {
7 "kind": "both",
8 "base": "https://api.dnsimple.com",
9 "authorization": "Bearer",
10 "pat_help": "https://support.dnsimple.com/articles/api-access-token/ — create a token scoped to the domains you want managed",
11 "oauth": {
12 "authorize_url": "https://dnsimple.com/oauth/authorize",
13 "scopes": [],
14 "token_url": "https://api.dnsimple.com/v2/oauth/access_token"
15 }
16 },
17 "ops": [
18 {
19 "id": "accounts.list",
20 "label": "List accounts",
21 "access": "read",
22 "method": "GET",
23 "path": "/v2/accounts",
24 "pick": {
25 "root": "data",
26 "fields": [
27 "id",
28 "email",
29 "plan_identifier"
30 ]
31 }
32 },
33 {
34 "id": "domains.list",
35 "label": "List domains",
36 "access": "read",
37 "method": "GET",
38 "path": "/v2/{account}/domains?per_page=100",
39 "args": {
40 "account": {
41 "required": true
42 }
43 },
44 "pick": {
45 "root": "data",
46 "fields": [
47 "name",
48 "state",
49 "auto_renew",
50 "expires_on",
51 "account_id"
52 ]
53 }
54 },
55 {
56 "id": "domain.check",
57 "label": "Check whether a domain is available",
58 "access": "read",
59 "method": "GET",
60 "path": "/v2/{account}/registrar/domains/{domain}/check",
61 "args": {
62 "account": {
63 "required": true
64 },
65 "domain": {
66 "required": true
67 }
68 },
69 "pick": {
70 "root": "data"
71 }
72 },
73 {
74 "id": "domain.register",
75 "label": "Register a domain",
76 "access": "write",
77 "method": "POST",
78 "path": "/v2/{account}/registrar/domains/{domain}/registrations",
79 "args": {
80 "account": {
81 "required": true
82 },
83 "domain": {
84 "required": true
85 },
86 "registrant_id": {
87 "required": true
88 }
89 },
90 "body_json": {
91 "registrant_id": "{registrant_id}"
92 },
93 "confirm": "Register {domain}? This buys the domain and costs real money."
94 }
95 ]
96}
97