{ "uuid": "e0e8e839-915f-4329-b642-561db07ce506", "lastMigration": 29, "name": "Firebase Realtime Database API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "19900a00-a4c3-4b90-9319-c5d94cec76dd", "documentation": "Marks a DatabaseInstance to be deleted. The DatabaseInstance will be set to the DELETED state for 20 days, and will be purged within 30 days. The default database cannot be deleted. IDs for deleted database instances may never be recovered or re-used. The Database may only be deleted if it is already in a DISABLED state.", "method": "delete", "endpoint": "v1beta/:name", "responses": [ { "uuid": "754545c6-ae69-4edb-afdf-2439795faa45", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "cc423931-78df-4c5d-96b8-f519986be86a", "documentation": "Gets the DatabaseInstance identified by the specified resource name.", "method": "get", "endpoint": "v1beta/:name", "responses": [ { "uuid": "37efa3b2-f43a-4eef-bfbc-7c1053f88c1f", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "38faa852-4c09-4ccd-b195-279fe465a0f8", "documentation": "Disables a DatabaseInstance. The database can be re-enabled later using ReenableDatabaseInstance. When a database is disabled, all reads and writes are denied, including view access in the Firebase console.", "method": "post", "endpoint": "v1beta/:name:disable", "responses": [ { "uuid": "2be0b63f-e4eb-4daf-995f-fc55e8fabc9e", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "29d31bc4-55a3-4131-9d3e-8a0adcf2e505", "documentation": "Enables a DatabaseInstance. The database must have been disabled previously using DisableDatabaseInstance. The state of a successfully reenabled DatabaseInstance is ACTIVE.", "method": "post", "endpoint": "v1beta/:name:reenable", "responses": [ { "uuid": "7678cd12-8492-4cee-a36b-f9b5d27a7661", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "00073836-969c-41a5-99ea-ef0d43cd06f5", "documentation": "Restores a DatabaseInstance that was previously marked to be deleted. After the delete method is used, DatabaseInstances are set to the DELETED state for 20 days, and will be purged within 30 days. Databases in the DELETED state can be undeleted without losing any data. This method may only be used on a DatabaseInstance in the DELETED state. Purged DatabaseInstances may not be recovered.", "method": "post", "endpoint": "v1beta/:name:undelete", "responses": [ { "uuid": "6d13ba3a-2d7d-4df9-9435-3b2a37389237", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "096b01a6-8a49-49dc-b360-31172bbc967c", "documentation": "Lists each DatabaseInstance associated with the specified parent project. The list items are returned in no particular order, but will be a consistent view of the database instances when additional requests are made with a `pageToken`. The resulting list contains instances in any STATE. The list results may be stale by a few seconds. Use GetDatabaseInstance for consistent reads.", "method": "get", "endpoint": "v1beta/:parent/instances", "responses": [ { "uuid": "7aef0be0-d107-4b24-a41a-e5a9a30320d0", "body": "{\n \"instances\": [\n {\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "7c979e3e-e013-4b91-bb71-05eb7a6b4510", "documentation": "Requests that a new DatabaseInstance be created. The state of a successfully created DatabaseInstance is ACTIVE. Only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Note that it might take a few minutes for billing enablement state to propagate to Firebase systems.", "method": "post", "endpoint": "v1beta/:parent/instances", "responses": [ { "uuid": "0bd6ee8a-1777-453c-b57c-acd41c5e4d59", "body": "{\n \"databaseUrl\": \"\",\n \"name\": \"\",\n \"project\": \"\",\n \"state\": \"{{oneOf (array 'LIFECYCLE_STATE_UNSPECIFIED' 'ACTIVE' 'DISABLED' 'DELETED')}}\",\n \"type\": \"{{oneOf (array 'DATABASE_INSTANCE_TYPE_UNSPECIFIED' 'DEFAULT_DATABASE' 'USER_DATABASE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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" } ], "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": "19900a00-a4c3-4b90-9319-c5d94cec76dd" }, { "type": "route", "uuid": "cc423931-78df-4c5d-96b8-f519986be86a" }, { "type": "route", "uuid": "38faa852-4c09-4ccd-b195-279fe465a0f8" }, { "type": "route", "uuid": "29d31bc4-55a3-4131-9d3e-8a0adcf2e505" }, { "type": "route", "uuid": "00073836-969c-41a5-99ea-ef0d43cd06f5" }, { "type": "route", "uuid": "096b01a6-8a49-49dc-b360-31172bbc967c" }, { "type": "route", "uuid": "7c979e3e-e013-4b91-bb71-05eb7a6b4510" } ] }