# Get all Yard Cameras **GET /api/camera/yard-cameras** Retrieves all cameras assigned to yards ## Servers - GCP Development: https://api-dev.gatego.io (GCP Development) - Production: https://api.gatego.io (Production) ## Parameters ### Query parameters - **attachmentTypes** (array[string]) AttachmentType constant, or a list of AttachmentType constants separated by commas. This is an "or" list: Cameras that are associated with *at least* one of the attachment types in this list will be included in the response (as long as they match the other request parameters) - **direction** (string) Direction - **hasAttachmentType** (boolean) When present: include only cameras that has been associated (when true), or has not been associated (when false) to at least one AttachmentType - **yard_id** (integer(int64)) Yard ID ## Responses ### 200 OK #### Body: application/json (array[object]) - **id** (integer(int64)) Camera ID - **yard_id** (integer(int64)) Assigned Yard ID - **direction** () - **attachment_types** (array[string]) Assigned AttachmentType List - **integration_camera** (object) ### 401 Not Authorized ### 403 Not Allowed [Powered by Bump.sh](https://bump.sh)