Beta APIs

[beta] List the photos of a part.

Returns the profile photo and other photos of a part.

<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select Read Parts under the Work Orders category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

get/maintenance/parts/photos

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Query parameters

partIdstring required

ID of the part.

Response

OK response.

Example response

{
  "data": {
    "partId": "4c6d8f2e-9b1a-4e3f-8a7b-2d5c6e9f0a1b",
    "photos": [
      {
        "id": "9814a1fa-f0c6-408b-bf85-51dc3bc71ac7",
        "processingStatus": "finished",
        "url": "https://samsara-media.s3.us-west-2.amazonaws.com/123456",
        "urlExpiresAtTime": "2019-06-13T19:08:25Z"
      }
    ],
    "profilePhoto": {
      "id": "9814a1fa-f0c6-408b-bf85-51dc3bc71ac7",
      "processingStatus": "finished",
      "url": "https://samsara-media.s3.us-west-2.amazonaws.com/123456",
      "urlExpiresAtTime": "2019-06-13T19:08:25Z"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.