Primitives

Read a resource

Reads a single resource by URI and returns its contents.

post/projects/{projectId}/servers/{serverId}/resources/read

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

serverIdstring required

ID of the server inside the project.

Request body

uristring required

The resource URI, exactly as returned by the resources list.

Example request

{
  "uri": "file:///readme.md"
}

Response

The resource contents.

Changes

Changed in 1 of the 122 revisions of this API.9

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new CONFLICT enum value to the response property for the response status

      response-property-enum-value-added