HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/containers/{Container.name}/container_mounts

Path Params
string
required

Reference Resource: Container
Name of the container.

Body Params
string
required

Reference Resource: Container_Mount
Container to which this mount belongs.

string

Mount target path in container. This is an absolute path in the container filesystem. Example: "/myapp/mount1" will be a path in the container filesystem.

int64
required
1 to 4294967295

Reference Resource: Container_Mount
Unique identifier of the mount.

string

Mount source path in host, relative to the source type. Example: "/app1/dir1" source path with "usb" source type maps to "usb:/app1/dir1".

string
enum

Specifies the mount source type. Currently, only the "usb" source type is supported.

Allowed:
Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!