Return C# hover information 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/hover"), 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/hover';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/hover \ --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# hover information 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# hover information 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# hover information 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# hover 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.
One-based source range for a Net Operation Project language service result.
object
One-based start line number.
One-based start column.
One-based end line number.
One-based end column.
Hover content, or null when no symbol is available at the requested position.
XML documentation for the hovered symbol, or null when none is available.
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# hover 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.
One-based source range for a Net Operation Project language service result.
object
One-based start line number.
One-based start column.
One-based end line number.
One-based end column.
Hover content, or null when no symbol is available at the requested position.
XML documentation for the hovered symbol, or null when none is available.
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# hover 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.
One-based source range for a Net Operation Project language service result.
object
One-based start line number.
One-based start column.
One-based end line number.
One-based end column.
Hover content, or null when no symbol is available at the requested position.
XML documentation for the hovered symbol, or null when none is available.
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# hover 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.
One-based source range for a Net Operation Project language service result.
object
One-based start line number.
One-based start column.
One-based end line number.
One-based end column.
Hover content, or null when no symbol is available at the requested position.
XML documentation for the hovered symbol, or null when none is available.
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 } ]}