{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-action-results-get":{"get":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_action_results_get","summary":"Retrieve a cached execution result. Implementations SHOULD ensure that any blobs referenced from the…","description":"GET /v2/{+instanceName}/actionResults/{hash}/{sizeBytes}","tags":["analytics"],"parameters":[{"name":"hash","in":"query","required":true,"description":"The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.","schema":{"type":"string","description":"The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long."}},{"name":"inlineOutputFiles","in":"query","required":false,"description":"A hint to the server to inline the contents of the listed output files. Each path needs to exactly match one file path in either…","schema":{"type":"string","description":"A hint to the server to inline the contents of the listed output files. Each path needs to exactly match one file path in either…"}},{"name":"inlineStderr","in":"query","required":false,"description":"A hint to the server to request inlining stderr in the ActionResult message.","schema":{"type":"boolean","description":"A hint to the server to request inlining stderr in the ActionResult message."}},{"name":"inlineStdout","in":"query","required":false,"description":"A hint to the server to request inlining stdout in the ActionResult message.","schema":{"type":"boolean","description":"A hint to the server to request inlining stdout in the ActionResult message."}},{"name":"instanceName","in":"query","required":true,"description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…","schema":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"}},{"name":"sizeBytes","in":"query","required":true,"description":"The size of the blob, in bytes.","schema":{"type":"string","description":"The size of the blob, in bytes."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-action-results-update":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_action_results_update","summary":"Upload a new execution result. In order to allow the server to perform access control based on the type of…","description":"PUT /v2/{+instanceName}/actionResults/{hash}/{sizeBytes}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hash","instanceName","sizeBytes","body"],"properties":{"hash":{"type":"string","description":"The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long."},"instanceName":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"},"resultsCachePolicy.priority":{"type":"integer","description":"The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other…"},"sizeBytes":{"type":"string","description":"The size of the blob, in bytes."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-actions-execute":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_actions_execute","summary":"Execute an action remotely. In order to execute an action, the client must first upload all of the inputs,…","description":"POST /v2/{+instanceName}/actions:execute","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instanceName","body"],"properties":{"instanceName":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-blobs-batch-read":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_blobs_batch_read","summary":"Download many blobs at once. The server may enforce a limit of the combined total size of blobs to be…","description":"POST /v2/{+instanceName}/blobs:batchRead","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instanceName","body"],"properties":{"instanceName":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-blobs-batch-update":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_blobs_batch_update","summary":"Upload many blobs at once. The server may enforce a limit of the combined total size of blobs to be uploaded…","description":"POST /v2/{+instanceName}/blobs:batchUpdate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instanceName","body"],"properties":{"instanceName":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-blobs-find-missing":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_blobs_find_missing","summary":"Determine if blobs are present in the CAS. Clients can use this API before uploading blobs to determine…","description":"POST /v2/{+instanceName}/blobs:findMissing","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instanceName","body"],"properties":{"instanceName":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-blobs-get-tree":{"get":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_blobs_get_tree","summary":"Fetch the entire directory tree rooted at a node. This request must be targeted at a Directory stored in the…","description":"GET /v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree","tags":["analytics"],"parameters":[{"name":"hash","in":"query","required":true,"description":"The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.","schema":{"type":"string","description":"The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long."}},{"name":"instanceName","in":"query","required":true,"description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…","schema":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"}},{"name":"pageSize","in":"query","required":false,"description":"A maximum page size to request. If present, the server will request no more than this many items. Regardless of whether a page size is…","schema":{"type":"integer","description":"A maximum page size to request. If present, the server will request no more than this many items. Regardless of whether a page size is…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, which must be a value received in a previous GetTreeResponse. If present, the server will use that token as an offset,…","schema":{"type":"string","description":"A page token, which must be a value received in a previous GetTreeResponse. If present, the server will use that token as an offset,…"}},{"name":"sizeBytes","in":"query","required":true,"description":"The size of the blob, in bytes.","schema":{"type":"string","description":"The size of the blob, in bytes."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-operations-wait-execution":{"post":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_operations_wait_execution","summary":"Wait for an execution operation to complete. When the client initially makes the request, the server…","description":"POST /v2/{+name}:waitExecution","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The name of the Operation returned by Execute."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-remotebuildexecution/remotebuildexecution-get-capabilities":{"get":{"operationId":"analytics_googleapis_remotebuildexecution_remotebuildexecution_get_capabilities","summary":"GetCapabilities returns the server capabilities configuration of the remote endpoint. Only the capabilities…","description":"GET /v2/{+instanceName}/capabilities","tags":["analytics"],"parameters":[{"name":"instanceName","in":"query","required":true,"description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…","schema":{"type":"string","description":"The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}