> ## Documentation index
> Fetch the complete documentation index at: https://developer.rhombus.com/llms.txt
> Use it to discover all available pages before exploring further.

# Get media uris for every configured facet of a robot

> Get the video uris of every video facet and the audio uris of every audio facet the robot has configured, so no uri is minted under a facet that cannot serve it

```http
POST https://api2.rhombussystems.com/api/robot/getAllMediaUris
```

EU organizations send the same request to `https://api2.eu.rhombussystems.com`.

## Authentication and parameters

- `x-auth-apikey` (header, required): Your Rhombus API key. Must be accompanied by the `x-auth-scheme` header set to `api-token` (or `partner-api-token` for partner endpoints).
- `x-auth-scheme` (header, string, required, default: `api-token`): Authentication scheme identifier. Use `api-token` for standard API key authentication, `partner-api-token` for partner API key authentication. Must be paired with the `x-auth-apikey` header containing your API key. One of: `api-token`, `api`, `partner-api-token`, `partner-api`.

## Request body

Content type: `application/json`. Request object for retrieving the media uris of every facet a robot has configured.

- `deviceUuid` (string<RUUID> | null): base 64 (url-safe) uuid string

## Response 200

OK. Content type: `application/json`

- `audioFacetUris` (map<string, object> | null): Audio uris keyed by the audio facet that serves them
- `deviceUuid` (string<RUUID> | null): base 64 (url-safe) uuid string
- `lanCheckUrls` (array<string | null> | null): List of LAN check URLs to verify robot availability on the local network. Not faceted
- `videoFacetUris` (map<string, object> | null): Video uris keyed by the video facet that serves them
- `wanLiveRobotUri` (string | null): WAN URI for the robot control websocket. Not faceted

## OpenAPI

````yaml
openapi: 3.0.1
info:
  title: Rhombus API
  version: "1.0"
servers:
  - description: Production Server
    url: https://api2.rhombussystems.com
security:
  - ApiKeyAuth: []
paths:
  /api/robot/getAllMediaUris:
    post:
      description: Get the video uris of every video facet and the audio uris of every audio facet the robot has configured, so no uri is minted under a facet that cannot serve it
      operationId: getAllRobotMediaUris
      parameters:
        - description: Authentication scheme identifier. Use `api-token` for standard API key authentication, `partner-api-token` for partner API key authentication. Must be paired with the `x-auth-apikey` header containing your API key.
          example: api-token
          in: header
          name: x-auth-scheme
          required: true
          schema:
            default: api-token
            enum:
              - api-token
              - api
              - partner-api-token
              - partner-api
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Robot_GetAllMediaUrisWSRequest"
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Robot_GetAllMediaUrisWSResponse"
          description: OK
      summary: Get media uris for every configured facet of a robot
      tags:
        - Robot Webservice
components:
  schemas:
    Robot_GetAllMediaUrisWSRequest:
      description: Request object for retrieving the media uris of every facet a robot has configured.
      properties:
        deviceUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    Robot_GetAllMediaUrisWSResponse:
      description: Media uris for every configured facet of a robot, plus the robot's device-level uris.
      properties:
        audioFacetUris:
          additionalProperties:
            $ref: "#/components/schemas/Robot_RobotAudioFacetUrisView"
          description: Audio uris keyed by the audio facet that serves them
          nullable: true
          type: object
        deviceUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        lanCheckUrls:
          description: List of LAN check URLs to verify robot availability on the local network. Not faceted
          items:
            description: List of LAN check URLs to verify robot availability on the local network. Not faceted
            nullable: true
            type: string
          nullable: true
          type: array
        videoFacetUris:
          additionalProperties:
            $ref: "#/components/schemas/Robot_RobotVideoFacetUrisView"
          description: Video uris keyed by the video facet that serves them
          nullable: true
          type: object
        wanLiveRobotUri:
          description: WAN URI for the robot control websocket. Not faceted
          nullable: true
          type: string
      type: object
    Robot_RobotAudioFacetUrisView:
      description: Live uris for one audio facet of a robot.
      properties:
        lanLiveOpusUris:
          description: List of LAN URIs for the live Opus audio stream of this facet
          items:
            description: List of LAN URIs for the live Opus audio stream of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        wanLiveOpusUri:
          description: WAN URI for the live Opus audio stream of this facet
          nullable: true
          type: string
      type: object
    Robot_RobotVideoFacetUrisView:
      description: Live and VOD uris for one video facet of a robot.
      properties:
        lanLiveH264Uris:
          description: List of LAN URIs for the live realtime video stream of this facet
          items:
            description: List of LAN URIs for the live realtime video stream of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        lanLiveM3u8Uris:
          description: List of LAN URIs for the live M3U8 stream of this facet
          items:
            description: List of LAN URIs for the live M3U8 stream of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        lanLiveMpdUris:
          description: List of LAN URIs for the live MPD stream of this facet
          items:
            description: List of LAN URIs for the live MPD stream of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        lanVodM3u8UrisTemplates:
          description: List of LAN URI templates for VOD M3U8 streams of this facet
          items:
            description: List of LAN URI templates for VOD M3U8 streams of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        lanVodMpdUrisTemplates:
          description: List of LAN URI templates for VOD MPD streams of this facet
          items:
            description: List of LAN URI templates for VOD MPD streams of this facet
            nullable: true
            type: string
          nullable: true
          type: array
        wanLiveH264Uri:
          description: WAN URI for the live realtime video stream of this facet
          nullable: true
          type: string
        wanLiveM3u8Uri:
          description: WAN URI for the live M3U8 stream of this facet
          nullable: true
          type: string
        wanLiveMpdUri:
          description: WAN URI for the live MPD stream of this facet
          nullable: true
          type: string
        wanVodM3u8UriTemplate:
          description: WAN URI template for VOD M3U8 streams of this facet
          nullable: true
          type: string
        wanVodMpdUriTemplate:
          description: WAN URI template for VOD MPD streams of this facet
          nullable: true
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Your Rhombus API key. Must be accompanied by the `x-auth-scheme` header set to `api-token` (or `partner-api-token` for partner endpoints).
      in: header
      name: x-auth-apikey
      type: apiKey
    oauth2:
      description: 'OAuth 2.0 authorization code flow with PKCE (`S256`). Send the access token as `Authorization: Bearer <token>`. Each operation lists the scopes it requires; a token without them is refused 403 with `WWW-Authenticate: Bearer error="insufficient_scope"`.'
      flows:
        authorizationCode:
          authorizationUrl: https://console.rhombus.com/oauth/authorize
          refreshUrl: https://auth-web.rhombussystems.com/oauth/token
          scopes:
            physical: Unlock doors and elevators, lockdown, alarms, speakers and robots
            read: View cameras, footage and settings
            write: Change settings and data
          tokenUrl: https://auth-web.rhombussystems.com/oauth/token
      type: oauth2
````
