Views

Register a photo of the building

First of three legs. Returns an upload_policy with a presigned URL; PUT the bytes to it (no Authorization header there, the signature is the authorisation), then confirm. aspect_ratio is optional: given width and height, the server picks the nearest supported ratio itself.

POST /projects/{project}/uploads is the endpoint to prefer: it accepts any file for the building and its answer names what the file turned out to be.

post/projects/{project}/angles

Request

  • Base URL: https://api.getfacade.ai/api/v1
  • URL: https://api.getfacade.ai/api/v1/projects/{project}/angles
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.getfacade.ai/oauth/authorize, token URL https://api.getfacade.ai/oauth/token, scopes: agent)

Path parameters

projectstring required

Request body

Example request

{
  "data": {
    "attributes": {
      "content_type": "image/jpeg"
    }
  }
}

Response

Registered

Changes

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