Return current Net Operation Project status, creating the starter revision if needed.
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-operation-project/status"),};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-operation-project/status';const options = {method: 'GET'};
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-operation-project/statusAuthorizations
Section titled “Authorizations”- None
Parameters
Section titled “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
Net Operation Project workspace storage status.
object
Project identifier.
Project display name.
Immutable Net Operation Project source revision.
object
Revision identifier.
Project identifier.
Monotonic revision number.
Optional revision comment.
Canonical source tree checksum.
Optional schema contract hash captured with the revision.
Creation timestamp.
Creating user identifier.
Number of files stored in the revision.
Immutable Net Operation Project source revision.
object
Revision identifier.
Project identifier.
Monotonic revision number.
Optional revision comment.
Canonical source tree checksum.
Optional schema contract hash captured with the revision.
Creation timestamp.
Creating user identifier.
Number of files stored in the revision.
Net Operation Project compiled artifact record.
object
Artifact identifier.
Project identifier.
Build identifier that produced the artifact.
Source revision identifier used by the build.
Whether this artifact is currently active.
Artifact content hash.
Artifact binary size in bytes.
Serialized dependency metadata.
Serialized function descriptors.
Serialized data source descriptors.
Workspace schema contract hash used by the build.
User that published the artifact.
Publication timestamp.
User that deactivated the artifact.
Deactivation timestamp.
Concurrency token.
Net Operation Project build history record.
object
Build identifier.
Project identifier.
Source revision identifier.
Monotonic build number.
Localization key for current build stage.
Current progress percentage.
Requesting user identifier.
Build request timestamp.
Build start timestamp.
Build completion timestamp.
Worker that claimed the build.
Last worker heartbeat timestamp.
Number of worker attempts.
Optional generated project checksum.
Optional schema contract hash.
Optional structured diagnostics JSON.
Optional short error summary.
Concurrency token.
Safe structured diagnostics for a failed Net Operation Project build.
object
Stable machine-readable reason code.
Whether retrying can reasonably succeed without operator remediation.
Optional PostgreSQL SQLSTATE without SQL or parameter values.
Optional allow-listed publication target kind.
Optional safe logical target identifier.
Stable remediation instruction code.
Whether the project should be explicitly checked after schema changes.
Current generated workspace schema contract hash.
Whether the active artifact was built against a different schema contract.
Net Operation Project build history record.
object
Build identifier.
Project identifier.
Source revision identifier.
Monotonic build number.
Localization key for current build stage.
Current progress percentage.
Requesting user identifier.
Build request timestamp.
Build start timestamp.
Build completion timestamp.
Worker that claimed the build.
Last worker heartbeat timestamp.
Number of worker attempts.
Optional generated project checksum.
Optional schema contract hash.
Optional structured diagnostics JSON.
Optional short error summary.
Concurrency token.
Safe structured diagnostics for a failed Net Operation Project build.
object
Stable machine-readable reason code.
Whether retrying can reasonably succeed without operator remediation.
Optional PostgreSQL SQLSTATE without SQL or parameter values.
Optional allow-listed publication target kind.
Optional safe logical target identifier.
Stable remediation instruction code.
Stored source revision count.
Stored build history count.
Stored artifact history count.
Creation timestamp.
Last modification timestamp.
Concurrency token.
Runtime activation compatibility for the active Net Operation Project artifact.
object
Active artifact identifier.
Source revision that produced the artifact.
Build that produced the artifact.
Whether the current host can activate the artifact.
Stable machine-readable compatibility reason code.
Localized operator-facing compatibility message.
Safe diagnostic details for the failed startup descriptor, when available.
object
object
object
object
object
Example
{ "Data": { "CurrentRevision": { "SourceKind": 0, "Status": 0 }, "WorkingRevision": { "SourceKind": 0, "Status": 0 }, "ActiveArtifact": { "Status": 0 }, "LatestBuild": { "Kind": 0, "Status": 0, "Stage": 0, "Failure": { "Category": 0 } }, "LatestCheckBuild": { "Kind": 0, "Status": 0, "Stage": 0, "Failure": { "Category": 0 } } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Net Operation Project workspace storage status.
object
Project identifier.
Project display name.
Immutable Net Operation Project source revision.
object
Revision identifier.
Project identifier.
Monotonic revision number.
Optional revision comment.
Canonical source tree checksum.
Optional schema contract hash captured with the revision.
Creation timestamp.
Creating user identifier.
Number of files stored in the revision.
Immutable Net Operation Project source revision.
object
Revision identifier.
Project identifier.
Monotonic revision number.
Optional revision comment.
Canonical source tree checksum.
Optional schema contract hash captured with the revision.
Creation timestamp.
Creating user identifier.
Number of files stored in the revision.
Net Operation Project compiled artifact record.
object
Artifact identifier.
Project identifier.
Build identifier that produced the artifact.
Source revision identifier used by the build.
Whether this artifact is currently active.
Artifact content hash.
Artifact binary size in bytes.
Serialized dependency metadata.
Serialized function descriptors.
Serialized data source descriptors.
Workspace schema contract hash used by the build.
User that published the artifact.
Publication timestamp.
User that deactivated the artifact.
Deactivation timestamp.
Concurrency token.
Net Operation Project build history record.
object
Build identifier.
Project identifier.
Source revision identifier.
Monotonic build number.
Localization key for current build stage.
Current progress percentage.
Requesting user identifier.
Build request timestamp.
Build start timestamp.
Build completion timestamp.
Worker that claimed the build.
Last worker heartbeat timestamp.
Number of worker attempts.
Optional generated project checksum.
Optional schema contract hash.
Optional structured diagnostics JSON.
Optional short error summary.
Concurrency token.
Safe structured diagnostics for a failed Net Operation Project build.
object
Stable machine-readable reason code.
Whether retrying can reasonably succeed without operator remediation.
Optional PostgreSQL SQLSTATE without SQL or parameter values.
Optional allow-listed publication target kind.
Optional safe logical target identifier.
Stable remediation instruction code.
Whether the project should be explicitly checked after schema changes.
Current generated workspace schema contract hash.
Whether the active artifact was built against a different schema contract.
Net Operation Project build history record.
object
Build identifier.
Project identifier.
Source revision identifier.
Monotonic build number.
Localization key for current build stage.
Current progress percentage.
Requesting user identifier.
Build request timestamp.
Build start timestamp.
Build completion timestamp.
Worker that claimed the build.
Last worker heartbeat timestamp.
Number of worker attempts.
Optional generated project checksum.
Optional schema contract hash.
Optional structured diagnostics JSON.
Optional short error summary.
Concurrency token.
Safe structured diagnostics for a failed Net Operation Project build.
object
Stable machine-readable reason code.
Whether retrying can reasonably succeed without operator remediation.
Optional PostgreSQL SQLSTATE without SQL or parameter values.
Optional allow-listed publication target kind.
Optional safe logical target identifier.
Stable remediation instruction code.
Stored source revision count.
Stored build history count.
Stored artifact history count.
Creation timestamp.
Last modification timestamp.
Concurrency token.
Runtime activation compatibility for the active Net Operation Project artifact.
object
Active artifact identifier.
Source revision that produced the artifact.
Build that produced the artifact.
Whether the current host can activate the artifact.
Stable machine-readable compatibility reason code.
Localized operator-facing compatibility message.
Safe diagnostic details for the failed startup descriptor, when available.
object
object
object
object
object
Example
{ "Data": { "CurrentRevision": { "SourceKind": 0, "Status": 0 }, "WorkingRevision": { "SourceKind": 0, "Status": 0 }, "ActiveArtifact": { "Status": 0 }, "LatestBuild": { "Kind": 0, "Status": 0, "Stage": 0, "Failure": { "Category": 0 } }, "LatestCheckBuild": { "Kind": 0, "Status": 0, "Stage": 0, "Failure": { "Category": 0 } } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}