Return current status of one .NET package apply operation.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/admin/net-packages/apply-operations/example"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/net-packages/apply-operations/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/admin/net-packages/apply-operations/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Async .NET package apply operation status for polling UI.
object
Apply operation identifier.
Applied package artifact identifier.
Progress percent for a UI progress bar.
Localized current stage text.
Identifier of the worker currently processing the operation, when claimed.
Last worker heartbeat timestamp, when the operation is running.
Number of apply attempts made for this operation.
Operation start timestamp.
Operation completion timestamp.
Whether unresolved queued jobs from the previously active package artifact should be cancelled when this artifact activates.
Localized operation errors.
object
object
Localized operation warnings.
object
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Stage": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Async .NET package apply operation status for polling UI.
object
Apply operation identifier.
Applied package artifact identifier.
Progress percent for a UI progress bar.
Localized current stage text.
Identifier of the worker currently processing the operation, when claimed.
Last worker heartbeat timestamp, when the operation is running.
Number of apply attempts made for this operation.
Operation start timestamp.
Operation completion timestamp.
Whether unresolved queued jobs from the previously active package artifact should be cancelled when this artifact activates.
Localized operation errors.
object
object
Localized operation warnings.
object
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Stage": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}