artifact_exists | EXEC | hash, teamId | Check that a cache artifact with the given hash exists. This request returns response headers only and is equivalent to a GET request to this endpoint where the response contains no body. |
artifact_query | EXEC | teamId, data__hashes | Query information about an array of artifacts. |
download_artifact | EXEC | hash, teamId | Downloads a cache artifact indentified by its hash specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body. |
record_events | EXEC | teamId | Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are HIT and MISS . The source is either LOCAL the cache event was on the users filesystem cache or REMOTE if the cache event is for a remote cache. When the event is a HIT the request also accepts a number duration which is the time taken to generate the artifact in the cache. |
status | EXEC | teamId | Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits. |
upload_artifact | EXEC | Content-Length, hash, teamId | Uploads a cache artifact identified by the hash specified on the path. The cache artifact can then be downloaded with the provided hash . |