{ "uuid": "a4cb6d46-4d6d-47d6-abd4-fb57b53198c4", "lastMigration": 29, "name": "ZEIT API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "acba2da5-5577-4010-9334-029e2c313e5f", "documentation": "Get a list of existent webhooks", "method": "get", "endpoint": "v1/integrations/webhooks", "responses": [ { "uuid": "f8e65760-76cd-45d1-9765-217bc4c75f20", "body": "[\n {\n \"configurationId\": \"\",\n \"createdAt\": {{faker 'number.int' max=99999}},\n \"events\": [\n \"\"\n ],\n \"id\": \"\",\n \"name\": \"\",\n \"ownerId\": \"\",\n \"url\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78b4f946-9ef3-481f-8ad1-4d3d6c041713", "documentation": "Create a new webhook", "method": "post", "endpoint": "v1/integrations/webhooks", "responses": [ { "uuid": "fdebbf3f-4369-4aee-8e0f-33f3eabcf283", "body": "{\n \"configurationId\": \"\",\n \"createdAt\": {{faker 'number.int' max=99999}},\n \"events\": [\n \"\"\n ],\n \"id\": \"\",\n \"name\": \"\",\n \"ownerId\": \"\",\n \"url\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a9e20738-4cdb-4e79-b0be-4b5654e4e906", "documentation": "Remove a webhook by id", "method": "delete", "endpoint": "v1/integrations/webhooks/:id", "responses": [ { "uuid": "e618632e-ad79-4574-8bea-04ed7f387cb0", "body": "", "latency": 0, "statusCode": 204, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e5108db2-f8a3-4cc0-a2b8-77fabcb547e2", "documentation": "Gets a list of domains registered for the authenticating user.", "method": "get", "endpoint": "v4/domains", "responses": [ { "uuid": "7c1ef736-9912-4968-b0a9-a9ca2d098832", "body": "{\n \"domains\": [\n {\n \"boughtAt\": 1549492066000,\n \"cdnEnabled\": false,\n \"createdAt\": 1549492062697,\n \"expiresAt\": 1581033599000,\n \"id\": \"Qmf2RSrNz5sqt6nznp4JpAyXgT6pY65qwJJn8gESt2iKoi\",\n \"intendedNameservers\": [\n \"b.zeit-world.co.uk\",\n \"c.zeit-world.org\",\n \"e.zeit-world.com\",\n \"f.zeit-world.net\"\n ],\n \"name\": \"zeit.rocks\",\n \"nameservers\": [\n \"f.zeit-world.net\",\n \"e.zeit-world.com\",\n \"b.zeit-world.co.uk\",\n \"c.zeit-world.org\"\n ],\n \"nsVerifiedAt\": 1549492417256,\n \"orderedAt\": 1549492057859,\n \"serviceType\": \"zeit.world\",\n \"txtVerifiedAt\": null,\n \"verificationRecord\": \"QmReErtvkKUkogSYEAFJCQVPboxRcrCygaFG8xUKinurD4\",\n \"verified\": true\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4bd9f56a-32f3-4c1b-ad53-ed53cdfd296b", "documentation": "Get a domain for the authenticated user by name", "method": "get", "endpoint": "v4/domains/:name", "responses": [ { "uuid": "5e5186f4-952d-4d42-b54c-5b3c49a1668e", "body": "{\n \"domain\": {\n \"aliases\": [],\n \"boughtAt\": null,\n \"cdnEnabled\": false,\n \"certs\": [],\n \"createdAt\": 1544658552174,\n \"creator\": {\n \"customerId\": \"cus_COxSxT1ysva5Xa\",\n \"email\": \"demo@zeit.co\",\n \"id\": \"ZspSRT4ljIEEmMHgoDwKWDei\",\n \"username\": \"zeit_user\"\n },\n \"expiresAt\": null,\n \"id\": \"EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\",\n \"intendedNameservers\": [\n \"a.zeit-world.co.uk\",\n \"c.zeit-world.org\",\n \"d.zeit-world.com\",\n \"f.zeit-world.net\"\n ],\n \"name\": \"my-zeit-domain.website\",\n \"nameservers\": [\n \"ns1.nameserver.net\",\n \"ns2.nameserver.net\"\n ],\n \"nsVerifiedAt\": null,\n \"serviceType\": \"external\",\n \"suffix\": false,\n \"txtVerifiedAt\": null,\n \"verificationRecord\": \"YMc9dEJKbAncYtTqSH8dp1j5NXycfEzyjkzBJ3m3UGwR43\",\n \"verified\": false\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9f824f28-75a9-4223-aa9f-7d95821ef13e", "body": "{\n \"error\": {\n \"code\": \"not_found\",\n \"message\": \"The domain with name zeit.rocks could not be found\",\n \"name\": \"zeit.rocks\"\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "acba2da5-5577-4010-9334-029e2c313e5f" }, { "type": "route", "uuid": "78b4f946-9ef3-481f-8ad1-4d3d6c041713" }, { "type": "route", "uuid": "a9e20738-4cdb-4e79-b0be-4b5654e4e906" }, { "type": "route", "uuid": "e5108db2-f8a3-4cc0-a2b8-77fabcb547e2" }, { "type": "route", "uuid": "4bd9f56a-32f3-4c1b-ad53-ed53cdfd296b" } ] }