Microsoft.App.DynamicSessions (preview:2024-10-02)

2025/09/05 • 7 deleted methods

CodeExecution_Execute (removed)
Description Execute code in a session.
Reference Link ¶

⚼ Request

POST:  /executions
{
api-version: string ,
operation-id: string ,
identifier: string ,
codeExecutionRequest:
{
codeInputType: enum ,
executionType: enum ,
code: string ,
timeoutInSeconds: integer ,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
operation-id: string ,
x-ms-error-code: string ,
}
,
$schema:
{
id: string ,
identifier: string ,
executionType: enum ,
status: enum ,
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
result:
{
stdout: string ,
stderr: string ,
executionResult: string ,
executionTimeInMilliseconds: integer ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CodeExecution_Get (removed)
Description Get the code execution result.
Reference Link ¶

⚼ Request

GET:  /executions/{executionId}
{
api-version: string ,
executionId: string ,
identifier: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
id: string ,
identifier: string ,
executionType: enum ,
status: enum ,
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
result:
{
stdout: string ,
stderr: string ,
executionResult: string ,
executionTimeInMilliseconds: integer ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
SessionResourceFiles_List (removed)
Description List the file resources.
Reference Link ¶

⚼ Request

GET:  /files
{
api-version: string ,
identifier: string ,
path: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
type: string ,
contentType: string ,
sizeInBytes: integer ,
lastModifiedAt: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
SessionResourceFiles_Upload (removed)
Description Upload a file to a session.
Reference Link ¶

⚼ Request

POST:  /files
{
api-version: string ,
identifier: string ,
path: string ,
file: file ,
}

⚐ Response (200)

{
name: string ,
type: string ,
contentType: string ,
sizeInBytes: integer ,
lastModifiedAt: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
SessionResourceFiles_Get (removed)
Description Get the file resource.
Reference Link ¶

⚼ Request

GET:  /files/{name}
{
api-version: string ,
name: string ,
identifier: string ,
path: string ,
}

⚐ Response (200)

{
name: string ,
type: string ,
contentType: string ,
sizeInBytes: integer ,
lastModifiedAt: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
SessionResourceFiles_Delete (removed)
Description Delete the file.
Reference Link ¶

⚼ Request

DELETE:  /files/{name}
{
api-version: string ,
name: string ,
identifier: string ,
path: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
SessionResourceFiles_GetContent (removed)
Description Get the content of the file.
Reference Link ¶

⚼ Request

GET:  /files/{name}/content
{
api-version: string ,
name: string ,
identifier: string ,
path: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}