Return C# signature help for the current Net Operation Project source buffer.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/net-operation-project/source-language/signature-help"), Content = new StringContent("{ \"RevisionId\": \"example\", \"Path\": \"example\", \"Content\": \"example\", \"LineNumber\": 1, \"Column\": 1, \"SchemaContractHash\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};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/source-language/signature-help';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"RevisionId":"example","Path":"example","Content":"example","LineNumber":1,"Column":1,"SchemaContractHash":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/net-operation-project/source-language/signature-help \ --header 'Content-Type: application/json' \ --data '{ "RevisionId": "example", "Path": "example", "Content": "example", "LineNumber": 1, "Column": 1, "SchemaContractHash": "example" }'Authorizations
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.
Request Body
Section titled “Request Body”Request C# signature help for a Net Operation Project source buffer.
object
Optional source revision id. When omitted, the working revision is used, then the current revision.
Normalized relative source path.
Current editor buffer content for the requested path.
One-based editor line number.
One-based editor column.
Optional schema contract hash read with the editor buffer. A mismatch rejects a stale language request.
Examplegenerated
{ "RevisionId": "example", "Path": "example", "Content": "example", "LineNumber": 1, "Column": 1, "SchemaContractHash": "example"}Request C# signature help for a Net Operation Project source buffer.
object
Optional source revision id. When omitted, the working revision is used, then the current revision.
Normalized relative source path.
Current editor buffer content for the requested path.
One-based editor line number.
One-based editor column.
Optional schema contract hash read with the editor buffer. A mismatch rejects a stale language request.
Examplegenerated
{ "RevisionId": "example", "Path": "example", "Content": "example", "LineNumber": 1, "Column": 1, "SchemaContractHash": "example"}Request C# signature help for a Net Operation Project source buffer.
object
Optional source revision id. When omitted, the working revision is used, then the current revision.
Normalized relative source path.
Current editor buffer content for the requested path.
One-based editor line number.
One-based editor column.
Optional schema contract hash read with the editor buffer. A mismatch rejects a stale language request.
Examplegenerated
{ "RevisionId": "example", "Path": "example", "Content": "example", "LineNumber": 1, "Column": 1, "SchemaContractHash": "example"}Responses
Section titled “Responses”OK
object
C# signature help result for a Net Operation Project source buffer.
object
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.
Normalized source path.
Callable signatures available at the requested position.
One callable signature returned for Monaco signature help.
object
Full signature label.
Optional signature documentation.
Parameters in declaration order.
Signature help parameter metadata for Monaco.
object
Parameter label as it appears in the signature.
Optional parameter documentation.
Zero-based active signature index.
Zero-based active parameter index.
External package reference resolution status for a Net Operation Project language response.
object
Number of package references considered for the language snapshot.
Number of metadata references resolved from package compile assets.
Optional localized status message.
object
object
object
object
Example
{ "Data": { "Revision": { "SourceKind": 0, "Status": 0 }, "DependencyStatus": { "Status": 0 } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
C# signature help result for a Net Operation Project source buffer.
object
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.
Normalized source path.
Callable signatures available at the requested position.
One callable signature returned for Monaco signature help.
object
Full signature label.
Optional signature documentation.
Parameters in declaration order.
Signature help parameter metadata for Monaco.
object
Parameter label as it appears in the signature.
Optional parameter documentation.
Zero-based active signature index.
Zero-based active parameter index.
External package reference resolution status for a Net Operation Project language response.
object
Number of package references considered for the language snapshot.
Number of metadata references resolved from package compile assets.
Optional localized status message.
object
object
object
object
Example
{ "Data": { "Revision": { "SourceKind": 0, "Status": 0 }, "DependencyStatus": { "Status": 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
C# signature help result for a Net Operation Project source buffer.
object
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.
Normalized source path.
Callable signatures available at the requested position.
One callable signature returned for Monaco signature help.
object
Full signature label.
Optional signature documentation.
Parameters in declaration order.
Signature help parameter metadata for Monaco.
object
Parameter label as it appears in the signature.
Optional parameter documentation.
Zero-based active signature index.
Zero-based active parameter index.
External package reference resolution status for a Net Operation Project language response.
object
Number of package references considered for the language snapshot.
Number of metadata references resolved from package compile assets.
Optional localized status message.
object
object
object
object
Example
{ "Data": { "Revision": { "SourceKind": 0, "Status": 0 }, "DependencyStatus": { "Status": 0 } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
C# signature help result for a Net Operation Project source buffer.
object
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.
Normalized source path.
Callable signatures available at the requested position.
One callable signature returned for Monaco signature help.
object
Full signature label.
Optional signature documentation.
Parameters in declaration order.
Signature help parameter metadata for Monaco.
object
Parameter label as it appears in the signature.
Optional parameter documentation.
Zero-based active signature index.
Zero-based active parameter index.
External package reference resolution status for a Net Operation Project language response.
object
Number of package references considered for the language snapshot.
Number of metadata references resolved from package compile assets.
Optional localized status message.
object
object
object
object
Example
{ "Data": { "Revision": { "SourceKind": 0, "Status": 0 }, "DependencyStatus": { "Status": 0 } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}