Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.55 KB

api-sandbox.md

File metadata and controls

62 lines (41 loc) · 1.55 KB

Overview

Provides a proxy to Mesos sandboxes.

GET /api/sandbox/{taskId}/read

Retrieve part of the contents of a file in a specific task's sandbox.

Parameters

path

Parameter Required Description Data Type
taskId true The task ID of the sandbox to read from string
query
Parameter Required Description Data Type
path false The path to the file to be read string
grep false Optional string to grep for string
offset false Byte offset to start reading from long
length false Maximum number of bytes to read long
Response

MesosFileChunkObject

Errors
Status Code Reason Response Model
- - -

GET /api/sandbox/{taskId}/browse

Retrieve information about a specific task's sandbox.

Parameters

path

Parameter Required Description Data Type
taskId true The task ID to browse string
query
Parameter Required Description Data Type
path false The path to browse from string
Response

SingularitySandbox

Errors
Status Code Reason Response Model
- - -