{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-create":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_create","summary":"After the client finishes uploading the photo with the returned UploadRef, CreatePhoto publishes the…","description":"POST /v1/photo","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-get":{"get":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_get","summary":"Gets the metadata of the specified Photo. This method returns the following error codes: *…","description":"GET /v1/photo/{photoId}","tags":["analytics"],"parameters":[{"name":"languageCode","in":"query","required":false,"description":"The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…","schema":{"type":"string","description":"The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…"}},{"name":"photoId","in":"query","required":true,"description":"Required. ID of the Photo.","schema":{"type":"string","description":"Required. ID of the Photo."}},{"name":"view","in":"query","required":false,"description":"Required. Specifies if a download URL for the photo bytes should be returned in the Photo response.","schema":{"type":"string","enum":["BASIC","INCLUDE_DOWNLOAD_URL"],"description":"Required. Specifies if a download URL for the photo bytes should be returned in the Photo response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-delete":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_delete","summary":"Deletes a Photo and its metadata. This method returns the following error codes: *…","description":"DELETE /v1/photo/{photoId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["photoId"],"properties":{"photoId":{"type":"string","description":"Required. ID of the Photo."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-start-upload":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_start_upload","summary":"Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned…","description":"POST /v1/photo:startUpload","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-update":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_update","summary":"Updates the metadata of a Photo, such as pose, place association, connections, etc. Changing the pixels of a…","description":"PUT /v1/photo/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"string","description":"A unique identifier for a photo."},"updateMask":{"type":"string","description":"Required. Mask that identifies fields on the photo metadata to update. If not present, the old Photo metadata is entirely replaced with…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-sequence-create":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_sequence_create","summary":"After the client finishes uploading the PhotoSequence with the returned UploadRef, CreatePhotoSequence…","description":"POST /v1/photoSequence","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"inputType":{"type":"string","enum":["INPUT_TYPE_UNSPECIFIED","VIDEO","XDM"],"description":"Required. The input form of PhotoSequence."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-sequence-get":{"get":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_sequence_get","summary":"Gets the metadata of the specified PhotoSequence via the Operation interface. This method returns the…","description":"GET /v1/photoSequence/{sequenceId}","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter expression. For example: `published_status=PUBLISHED`. The filters supported are: `published_status`. See…","schema":{"type":"string","description":"Optional. The filter expression. For example: `published_status=PUBLISHED`. The filters supported are: `published_status`. See…"}},{"name":"sequenceId","in":"query","required":true,"description":"Required. ID of the photo sequence.","schema":{"type":"string","description":"Required. ID of the photo sequence."}},{"name":"view","in":"query","required":false,"description":"Specifies if a download URL for the photo sequence should be returned in `download_url` of individual photos in the PhotoSequence…","schema":{"type":"string","enum":["BASIC","INCLUDE_DOWNLOAD_URL"],"description":"Specifies if a download URL for the photo sequence should be returned in `download_url` of individual photos in the PhotoSequence…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-sequence-delete":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_sequence_delete","summary":"Deletes a PhotoSequence and its metadata. This method returns the following error codes: *…","description":"DELETE /v1/photoSequence/{sequenceId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sequenceId"],"properties":{"sequenceId":{"type":"string","description":"Required. ID of the PhotoSequence."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-sequence-start-upload":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_sequence_start_upload","summary":"Creates an upload session to start uploading photo sequence data. The upload URL of the returned UploadRef…","description":"POST /v1/photoSequence:startUpload","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photo-sequences-list":{"get":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photo_sequences_list","summary":"Lists all the PhotoSequences that belong to the user, in descending CreatePhotoSequence timestamp order.","description":"GET /v1/photoSequences","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`,…","schema":{"type":"string","description":"Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`,…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of photo sequences to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the…","schema":{"type":"integer","description":"Optional. The maximum number of photo sequences to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The nextPageToken value returned from a previous ListPhotoSequences request, if any.","schema":{"type":"string","description":"Optional. The nextPageToken value returned from a previous ListPhotoSequences request, if any."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photos-batch-delete":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photos_batch_delete","summary":"Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields…","description":"POST /v1/photos:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photos-batch-get":{"get":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photos_batch_get","summary":"Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields…","description":"GET /v1/photos:batchGet","tags":["analytics"],"parameters":[{"name":"languageCode","in":"query","required":false,"description":"Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…","schema":{"type":"string","description":"Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…"}},{"name":"photoIds","in":"query","required":false,"description":"Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be `photoIds=&photoIds=&...`.","schema":{"type":"string","description":"Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be `photoIds=&photoIds=&...`."}},{"name":"view","in":"query","required":false,"description":"Required. Specifies if a download URL for the photo bytes should be returned in the Photo response.","schema":{"type":"string","enum":["BASIC","INCLUDE_DOWNLOAD_URL"],"description":"Required. Specifies if a download URL for the photo bytes should be returned in the Photo response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photos-batch-update":{"post":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photos_batch_update","summary":"Updates the metadata of Photos, such as pose, place association, connections, etc. Changing the pixels of…","description":"POST /v1/photos:batchUpdate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-streetviewpublish/streetviewpublish-photos-list":{"get":{"operationId":"analytics_googleapis_streetviewpublish_streetviewpublish_photos_list","summary":"Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed…","description":"GET /v1/photos","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The filters supported are: `placeId`, `min_latitude`,…","schema":{"type":"string","description":"Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The filters supported are: `placeId`, `min_latitude`,…"}},{"name":"languageCode","in":"query","required":false,"description":"Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…","schema":{"type":"string","description":"Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of photos to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the default…","schema":{"type":"integer","description":"Optional. The maximum number of photos to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the default…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The nextPageToken value returned from a previous ListPhotos request, if any.","schema":{"type":"string","description":"Optional. The nextPageToken value returned from a previous ListPhotos request, if any."}},{"name":"view","in":"query","required":false,"description":"Required. Specifies if a download URL for the photos bytes should be returned in the Photos response.","schema":{"type":"string","enum":["BASIC","INCLUDE_DOWNLOAD_URL"],"description":"Required. Specifies if a download URL for the photos bytes should be returned in the Photos response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}