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.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
sessionId
string<object-id>
true

Specifies the ID of the session.

Request Body

Specifies a libref assignment request.

Assigns a new library or libref.

NameTypeRequiredDescription
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.

Responses

StatusMeaningDescription
201Created

A libref was created.

Headers
400Bad Request

The request was invalid.

Schema
404Not Found

No resource exists at the requested path.

Schema