Twins

Retrieves a component from a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
    • InvalidArgument - The digital twin id or component path is invalid.
  • 404 Not Found
    • DigitalTwinNotFound - The digital twin was not found.
    • ComponentNotFound - The component path was not found.
get/digitaltwins/{id}/components/{componentPath}

Path parameters

idstring required

The id of the digital twin. The id is unique within the service and case sensitive.

componentPathstring required

The name of the DTDL component.

Query parameters

api-versionstring required

The requested API version.

Response

Success

Component required

Digital twin component

Changes

Changed in 1 of the 7 revisions of this API.2

  • 2020-05-31-previewd47143e477552See the full diff
    • added the new optional header request parameter traceparent to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the new optional header request parameter tracestate to all path's operations

      new-optional-request-default-parameter-to-existing-path