{ "uuid": "7186eb3b-b85d-420a-a909-6008de4472ac", "lastMigration": 29, "name": "Firebase ML API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "92fd0eee-4cfc-45e3-828b-02d0882d13c0", "documentation": "Deletes a model", "method": "delete", "endpoint": "v1beta2/:name", "responses": [ { "uuid": "78a1899f-416c-4126-b7cf-2fa4b0c2147b", "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": "ab2da1ad-8e2f-4ec8-aa03-5dae0d7e110a", "documentation": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", "method": "get", "endpoint": "v1beta2/:name", "responses": [ { "uuid": "b49eca1e-43dd-420e-8193-6bd06aa64564", "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": "7b21ed73-202d-46ef-9bed-b8fb1ac83eaf", "documentation": "Updates a model. The longrunning operation will eventually return a Model.", "method": "patch", "endpoint": "v1beta2/:name", "responses": [ { "uuid": "3b3723bb-fc48-4692-b8b7-09808e68f384", "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": "caf4094f-295e-4f74-ba84-4f5d97e1cc03", "documentation": "Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.", "method": "get", "endpoint": "v1beta2/:name:download", "responses": [ { "uuid": "f79137a9-67fa-4716-8f6d-28fad5b6d9d1", "body": "{\n \"downloadUri\": \"\",\n \"expireTime\": \"\",\n \"modelFormat\": \"{{oneOf (array 'MODEL_FORMAT_UNSPECIFIED' 'TFLITE')}}\",\n \"sizeBytes\": \"\"\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": "61b70a0c-0d90-4c78-9db8-bfdfb2e36bdd", "documentation": "Lists the models", "method": "get", "endpoint": "v1beta2/:parent/models", "responses": [ { "uuid": "9f94db61-457c-423a-ad62-089c92c89032", "body": "{\n \"models\": [\n {\n \"activeOperations\": [\n {\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 }\n ],\n \"createTime\": \"\",\n \"displayName\": \"\",\n \"etag\": \"\",\n \"modelHash\": \"\",\n \"name\": \"\",\n \"state\": {\n \"published\": {{faker 'datatype.boolean'}},\n \"validationError\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n },\n \"tags\": [\n \"\"\n ],\n \"tfliteModel\": {\n \"automlModel\": \"\",\n \"gcsTfliteUri\": \"\",\n \"sizeBytes\": \"\"\n },\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": "4f14732f-fda9-4701-b398-36d0bdc57933", "documentation": "Creates a model in Firebase ML. The longrunning operation will eventually return a Model", "method": "post", "endpoint": "v1beta2/:parent/models", "responses": [ { "uuid": "e6136198-0cef-4533-9b04-a01e3a94bff5", "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" } ], "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": "92fd0eee-4cfc-45e3-828b-02d0882d13c0" }, { "type": "route", "uuid": "ab2da1ad-8e2f-4ec8-aa03-5dae0d7e110a" }, { "type": "route", "uuid": "7b21ed73-202d-46ef-9bed-b8fb1ac83eaf" }, { "type": "route", "uuid": "caf4094f-295e-4f74-ba84-4f5d97e1cc03" }, { "type": "route", "uuid": "61b70a0c-0d90-4c78-9db8-bfdfb2e36bdd" }, { "type": "route", "uuid": "4f14732f-fda9-4701-b398-36d0bdc57933" } ] }