Somewhere Cloud
v1.0.0Somewhere — Build and maintain web apps
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
project_deploy Deploy raw source
Deploy a temporary app from raw source. Use a name on the first deploy. Give the person the returned live URL, claim link and expiry.
| Parameter | Type | Description |
|---|---|---|
files * | object | |
base_release_id | string | For an update, pass data.active_release_id from the deploy whose files you edited. |
binary_files | object | |
functions | object | Server handlers keyed by path, such as api/hello.ts. |
name | string | Project name for the first deploy. |
project_id | string | The project_id returned by project_deploy. |
proof | object | Supply this only if the previous deploy response requests it. |
session_id | string | The private session_id returned by project_deploy. Omit for your first deploy. |
project_logs Read project logs
Read logs for a project in your temporary session.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project_id returned by project_deploy. |
limit | integer | |
session_id | string | The private session_id returned by project_deploy. Omit for your first deploy. |
errors Read recent app errors
Read recent errors for a project in your temporary session.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project_id returned by project_deploy. |
limit | integer | |
session_id | string | The private session_id returned by project_deploy. Omit for your first deploy. |