{ "uuid": "262af422-b8be-42ff-a1c6-808ca43ee846", "lastMigration": 29, "name": "Firebase Hosting API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a57092b3-8fdd-4e1a-8a82-6031bd41cc71", "documentation": "Deletes the specified version.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "bea6b990-3379-420d-9a39-5b732eadd518", "body": "{}", "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": "349a793d-7273-4a2e-a409-60834d207feb", "documentation": "Gets a domain mapping on the specified site.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "058e0e0d-7e94-40e2-8147-d2d703af76b6", "body": "{\n \"domainName\": \"\",\n \"domainRedirect\": {\n \"domainName\": \"\",\n \"type\": \"{{oneOf (array 'REDIRECT_TYPE_UNSPECIFIED' 'MOVED_PERMANENTLY')}}\"\n },\n \"provisioning\": {\n \"certChallengeDiscoveredTxt\": [\n \"\"\n ],\n \"certChallengeDns\": {\n \"domainName\": \"\",\n \"token\": \"\"\n },\n \"certChallengeHttp\": {\n \"path\": \"\",\n \"token\": \"\"\n },\n \"certStatus\": \"{{oneOf (array 'CERT_STATUS_UNSPECIFIED' 'CERT_PENDING' 'CERT_MISSING' 'CERT_PROCESSING' 'CERT_PROPAGATING' 'CERT_ACTIVE' 'CERT_ERROR')}}\",\n \"discoveredIps\": [\n \"\"\n ],\n \"dnsFetchTime\": \"\",\n \"dnsStatus\": \"{{oneOf (array 'DNS_STATUS_UNSPECIFIED' 'DNS_PENDING' 'DNS_MISSING' 'DNS_PARTIAL_MATCH' 'DNS_MATCH' 'DNS_EXTRANEOUS_MATCH')}}\",\n \"expectedIps\": [\n \"\"\n ]\n },\n \"site\": \"\",\n \"status\": \"{{oneOf (array 'DOMAIN_STATUS_UNSPECIFIED' 'DOMAIN_CHANGE_PENDING' 'DOMAIN_ACTIVE' 'DOMAIN_VERIFICATION_REQUIRED' 'DOMAIN_VERIFICATION_LOST')}}\",\n \"updateTime\": \"\"\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": "903fe351-c7bc-43db-852d-ac62208ecfe7", "documentation": " Updates the specified metadata for the specified version. This method will fail with `FAILED_PRECONDITION` in the event of an invalid state transition. The supported [state](../sites.versions#versionstatus) transitions for a version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to set the status of a version to `DELETED`.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "8eeef4be-7dd7-4f0c-8ecc-0d20586a9450", "body": "{\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\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": "9be143bd-ccf9-4936-967e-a07c7055f038", "documentation": "Updates the specified domain mapping, creating the mapping as if it does not exist.", "method": "put", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "baa72a51-0ab7-436b-8d82-43238769e248", "body": "{\n \"domainName\": \"\",\n \"domainRedirect\": {\n \"domainName\": \"\",\n \"type\": \"{{oneOf (array 'REDIRECT_TYPE_UNSPECIFIED' 'MOVED_PERMANENTLY')}}\"\n },\n \"provisioning\": {\n \"certChallengeDiscoveredTxt\": [\n \"\"\n ],\n \"certChallengeDns\": {\n \"domainName\": \"\",\n \"token\": \"\"\n },\n \"certChallengeHttp\": {\n \"path\": \"\",\n \"token\": \"\"\n },\n \"certStatus\": \"{{oneOf (array 'CERT_STATUS_UNSPECIFIED' 'CERT_PENDING' 'CERT_MISSING' 'CERT_PROCESSING' 'CERT_PROPAGATING' 'CERT_ACTIVE' 'CERT_ERROR')}}\",\n \"discoveredIps\": [\n \"\"\n ],\n \"dnsFetchTime\": \"\",\n \"dnsStatus\": \"{{oneOf (array 'DNS_STATUS_UNSPECIFIED' 'DNS_PENDING' 'DNS_MISSING' 'DNS_PARTIAL_MATCH' 'DNS_MATCH' 'DNS_EXTRANEOUS_MATCH')}}\",\n \"expectedIps\": [\n \"\"\n ]\n },\n \"site\": \"\",\n \"status\": \"{{oneOf (array 'DOMAIN_STATUS_UNSPECIFIED' 'DOMAIN_CHANGE_PENDING' 'DOMAIN_ACTIVE' 'DOMAIN_VERIFICATION_REQUIRED' 'DOMAIN_VERIFICATION_LOST')}}\",\n \"updateTime\": \"\"\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": "47d8386d-50f5-4ef8-a298-601bc6b1e828", "documentation": "Lists the channels for the specified site. All sites have a default `live` channel.", "method": "get", "endpoint": "v1beta1/:parent/channels", "responses": [ { "uuid": "d88b0fc9-757b-42ce-828e-d98664e29458", "body": "{\n \"channels\": [\n {\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"release\": {\n \"message\": \"\",\n \"name\": \"\",\n \"releaseTime\": \"\",\n \"releaseUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEPLOY' 'ROLLBACK' 'SITE_DISABLE')}}\",\n \"version\": {\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\n }\n },\n \"retainedReleaseCount\": {{faker 'number.int' max=99999}},\n \"ttl\": \"\",\n \"updateTime\": \"\",\n \"url\": \"\"\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": "e015d319-8a57-4fc7-9ca3-e3ca758bb464", "documentation": "Creates a new channel in the specified site.", "method": "post", "endpoint": "v1beta1/:parent/channels", "responses": [ { "uuid": "40df801f-7bfb-4b5f-bc0f-0f5967bdd8dd", "body": "{\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"release\": {\n \"message\": \"\",\n \"name\": \"\",\n \"releaseTime\": \"\",\n \"releaseUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEPLOY' 'ROLLBACK' 'SITE_DISABLE')}}\",\n \"version\": {\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\n }\n },\n \"retainedReleaseCount\": {{faker 'number.int' max=99999}},\n \"ttl\": \"\",\n \"updateTime\": \"\",\n \"url\": \"\"\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": "587738a2-f6b1-4d80-8e12-6ca2a28601f6", "documentation": "Lists the domains for the specified site.", "method": "get", "endpoint": "v1beta1/:parent/domains", "responses": [ { "uuid": "a946f896-a777-4c0e-b4fc-43e152767c72", "body": "{\n \"domains\": [\n {\n \"domainName\": \"\",\n \"domainRedirect\": {\n \"domainName\": \"\",\n \"type\": \"{{oneOf (array 'REDIRECT_TYPE_UNSPECIFIED' 'MOVED_PERMANENTLY')}}\"\n },\n \"provisioning\": {\n \"certChallengeDiscoveredTxt\": [\n \"\"\n ],\n \"certChallengeDns\": {\n \"domainName\": \"\",\n \"token\": \"\"\n },\n \"certChallengeHttp\": {\n \"path\": \"\",\n \"token\": \"\"\n },\n \"certStatus\": \"{{oneOf (array 'CERT_STATUS_UNSPECIFIED' 'CERT_PENDING' 'CERT_MISSING' 'CERT_PROCESSING' 'CERT_PROPAGATING' 'CERT_ACTIVE' 'CERT_ERROR')}}\",\n \"discoveredIps\": [\n \"\"\n ],\n \"dnsFetchTime\": \"\",\n \"dnsStatus\": \"{{oneOf (array 'DNS_STATUS_UNSPECIFIED' 'DNS_PENDING' 'DNS_MISSING' 'DNS_PARTIAL_MATCH' 'DNS_MATCH' 'DNS_EXTRANEOUS_MATCH')}}\",\n \"expectedIps\": [\n \"\"\n ]\n },\n \"site\": \"\",\n \"status\": \"{{oneOf (array 'DOMAIN_STATUS_UNSPECIFIED' 'DOMAIN_CHANGE_PENDING' 'DOMAIN_ACTIVE' 'DOMAIN_VERIFICATION_REQUIRED' 'DOMAIN_VERIFICATION_LOST')}}\",\n \"updateTime\": \"\"\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": "473585d7-7f95-4854-b2c9-5cecf18e7310", "documentation": "Creates a domain mapping on the specified site.", "method": "post", "endpoint": "v1beta1/:parent/domains", "responses": [ { "uuid": "fa275478-5797-4775-92a4-26116afe250c", "body": "{\n \"domainName\": \"\",\n \"domainRedirect\": {\n \"domainName\": \"\",\n \"type\": \"{{oneOf (array 'REDIRECT_TYPE_UNSPECIFIED' 'MOVED_PERMANENTLY')}}\"\n },\n \"provisioning\": {\n \"certChallengeDiscoveredTxt\": [\n \"\"\n ],\n \"certChallengeDns\": {\n \"domainName\": \"\",\n \"token\": \"\"\n },\n \"certChallengeHttp\": {\n \"path\": \"\",\n \"token\": \"\"\n },\n \"certStatus\": \"{{oneOf (array 'CERT_STATUS_UNSPECIFIED' 'CERT_PENDING' 'CERT_MISSING' 'CERT_PROCESSING' 'CERT_PROPAGATING' 'CERT_ACTIVE' 'CERT_ERROR')}}\",\n \"discoveredIps\": [\n \"\"\n ],\n \"dnsFetchTime\": \"\",\n \"dnsStatus\": \"{{oneOf (array 'DNS_STATUS_UNSPECIFIED' 'DNS_PENDING' 'DNS_MISSING' 'DNS_PARTIAL_MATCH' 'DNS_MATCH' 'DNS_EXTRANEOUS_MATCH')}}\",\n \"expectedIps\": [\n \"\"\n ]\n },\n \"site\": \"\",\n \"status\": \"{{oneOf (array 'DOMAIN_STATUS_UNSPECIFIED' 'DOMAIN_CHANGE_PENDING' 'DOMAIN_ACTIVE' 'DOMAIN_VERIFICATION_REQUIRED' 'DOMAIN_VERIFICATION_LOST')}}\",\n \"updateTime\": \"\"\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": "ec49f446-5aef-4464-92c2-cf54bb055247", "documentation": "Lists the remaining files to be uploaded for the specified version.", "method": "get", "endpoint": "v1beta1/:parent/files", "responses": [ { "uuid": "c7064518-1665-4c5f-9526-56598c0d3b1d", "body": "{\n \"files\": [\n {\n \"hash\": \"\",\n \"path\": \"\",\n \"status\": \"{{oneOf (array 'STATUS_UNSPECIFIED' 'EXPECTED' 'ACTIVE')}}\"\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": "f12d2621-4bab-44b2-8327-ace9c69b8d85", "documentation": "Lists the releases that have been created for the specified site or channel. When used to list releases for a site, this list includes releases for both the default `live` channel and any active preview channels for the specified site.", "method": "get", "endpoint": "v1beta1/:parent/releases", "responses": [ { "uuid": "43cf845f-5c1c-46fc-9216-3c8c165836dc", "body": "{\n \"nextPageToken\": \"\",\n \"releases\": [\n {\n \"message\": \"\",\n \"name\": \"\",\n \"releaseTime\": \"\",\n \"releaseUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEPLOY' 'ROLLBACK' 'SITE_DISABLE')}}\",\n \"version\": {\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\n }\n }\n ]\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": "921694cd-258d-4d26-b2b4-dff1bc40e6f5", "documentation": "Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).", "method": "post", "endpoint": "v1beta1/:parent/releases", "responses": [ { "uuid": "bad32ce3-98d3-45be-82c6-0bc3f44fb506", "body": "{\n \"message\": \"\",\n \"name\": \"\",\n \"releaseTime\": \"\",\n \"releaseUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEPLOY' 'ROLLBACK' 'SITE_DISABLE')}}\",\n \"version\": {\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\n }\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": "46a2b46e-3a0a-427f-b0f7-3c80074ae8c1", "documentation": "Lists each Hosting Site associated with the specified parent Firebase project.", "method": "get", "endpoint": "v1beta1/:parent/sites", "responses": [ { "uuid": "faf5b30c-989f-437b-aa9a-8a429b053390", "body": "{\n \"nextPageToken\": \"\",\n \"sites\": [\n {\n \"appId\": \"\",\n \"defaultUrl\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEFAULT_SITE' 'USER_SITE')}}\"\n }\n ]\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": "78a37dfc-5739-45d6-8f12-8ea53d9bb7c4", "documentation": "Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems.", "method": "post", "endpoint": "v1beta1/:parent/sites", "responses": [ { "uuid": "58c97493-add9-4fd9-8393-5d3693c01a89", "body": "{\n \"appId\": \"\",\n \"defaultUrl\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DEFAULT_SITE' 'USER_SITE')}}\"\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": "98a18048-0cd7-4c91-9cc2-ffa4661546d0", "documentation": "Lists the versions that have been created for the specified site. This list includes versions for both the default `live` channel and any active preview channels for the specified site.", "method": "get", "endpoint": "v1beta1/:parent/versions", "responses": [ { "uuid": "9b512fde-b521-448a-990f-de7b3c12fe81", "body": "{\n \"nextPageToken\": \"\",\n \"versions\": [\n {\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\n }\n ]\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": "0c802261-15ab-4243-9488-030cdd311b1f", "documentation": "Creates a new version for the specified site.", "method": "post", "endpoint": "v1beta1/:parent/versions", "responses": [ { "uuid": "8ed80f46-ef72-4aa1-94cf-9f191f8988cc", "body": "{\n \"config\": {\n \"appAssociation\": \"{{oneOf (array 'AUTO' 'NONE')}}\",\n \"cleanUrls\": {{faker 'datatype.boolean'}},\n \"headers\": [\n {\n \"glob\": \"\",\n \"headers\": {},\n \"regex\": \"\"\n }\n ],\n \"i18n\": {\n \"root\": \"\"\n },\n \"redirects\": [\n {\n \"glob\": \"\",\n \"location\": \"\",\n \"regex\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n }\n ],\n \"rewrites\": [\n {\n \"dynamicLinks\": {{faker 'datatype.boolean'}},\n \"function\": \"\",\n \"functionRegion\": \"\",\n \"glob\": \"\",\n \"path\": \"\",\n \"regex\": \"\",\n \"run\": {\n \"region\": \"\",\n \"serviceId\": \"\"\n }\n }\n ],\n \"trailingSlashBehavior\": \"{{oneOf (array 'TRAILING_SLASH_BEHAVIOR_UNSPECIFIED' 'ADD' 'REMOVE')}}\"\n },\n \"createTime\": \"\",\n \"createUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"deleteTime\": \"\",\n \"deleteUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"fileCount\": \"\",\n \"finalizeTime\": \"\",\n \"finalizeUser\": {\n \"email\": \"\",\n \"imageUrl\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'VERSION_STATUS_UNSPECIFIED' 'CREATED' 'FINALIZED' 'DELETED' 'ABANDONED' 'EXPIRED' 'CLONING')}}\",\n \"versionBytes\": \"\"\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": "08ecb0b3-a1de-4f4b-af37-38bbadff824a", "documentation": "Creates a new version on the specified target site using the content of the specified version.", "method": "post", "endpoint": "v1beta1/:parent/versions:clone", "responses": [ { "uuid": "b173d59b-124c-42a5-927b-8209a486db12", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "2ae7cb0d-9437-408d-a21d-fe0ee83e3343", "documentation": " Adds content files to the specified version. Each file must be under 2 GB.", "method": "post", "endpoint": "v1beta1/:parent:populateFiles", "responses": [ { "uuid": "20c40d9e-5139-43b9-8622-a16a5403ac13", "body": "{\n \"uploadRequiredHashes\": [\n \"\"\n ],\n \"uploadUrl\": \"\"\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": "a57092b3-8fdd-4e1a-8a82-6031bd41cc71" }, { "type": "route", "uuid": "349a793d-7273-4a2e-a409-60834d207feb" }, { "type": "route", "uuid": "903fe351-c7bc-43db-852d-ac62208ecfe7" }, { "type": "route", "uuid": "9be143bd-ccf9-4936-967e-a07c7055f038" }, { "type": "route", "uuid": "47d8386d-50f5-4ef8-a298-601bc6b1e828" }, { "type": "route", "uuid": "e015d319-8a57-4fc7-9ca3-e3ca758bb464" }, { "type": "route", "uuid": "587738a2-f6b1-4d80-8e12-6ca2a28601f6" }, { "type": "route", "uuid": "473585d7-7f95-4854-b2c9-5cecf18e7310" }, { "type": "route", "uuid": "ec49f446-5aef-4464-92c2-cf54bb055247" }, { "type": "route", "uuid": "f12d2621-4bab-44b2-8327-ace9c69b8d85" }, { "type": "route", "uuid": "921694cd-258d-4d26-b2b4-dff1bc40e6f5" }, { "type": "route", "uuid": "46a2b46e-3a0a-427f-b0f7-3c80074ae8c1" }, { "type": "route", "uuid": "78a37dfc-5739-45d6-8f12-8ea53d9bb7c4" }, { "type": "route", "uuid": "98a18048-0cd7-4c91-9cc2-ffa4661546d0" }, { "type": "route", "uuid": "0c802261-15ab-4243-9488-030cdd311b1f" }, { "type": "route", "uuid": "08ecb0b3-a1de-4f4b-af37-38bbadff824a" }, { "type": "route", "uuid": "2ae7cb0d-9437-408d-a21d-fe0ee83e3343" } ] }