Assign a libref
post/sessions/{sessionId}/data
Assigns a libref that is based on the request body for a session. The Location header contains the URI of the libref resource.
| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string<object-id> | true | Specifies the ID of the session. |
Specifies a libref assignment request.
Assigns a new library or libref.
| Name | Type | Required | Description |
|---|---|---|---|
version | integer<int32> | false | Specifies the version number of this representation schema. This is version 1. |
name | string | true | Specifies the name of the library to assign. |
engine | string | true | Specifies the engine to use with this library. |
path | string | true | Specifies the engine-specific path information for this library. |
options | array [string] | false | Specifies options that the engine uses. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | A libref was created. | Headers | |
| 400 | Bad Request | The request was invalid. | Schema | |
| 404 | Not Found | No resource exists at the requested path. | Schema |