Get the url of the preview file.

URL Parameters

NameDescriptionLocationRequiredDefault Value
tokenThe token to access the preview filePathYes

Body Parameters

None.

Authentication

JwtAuthenticator, Oauth2Authenticator, AnonymousAuthenticator

Authorization

None.

Example Request

URL

GET https://spacesapis.zang.io/api/files/viewUrls/{token}

Headers

None.

Example Response

{
  "data": [
    {
      "page": 1,
      "url": "https://storage.googleapis.com/onesnatesting/logan%2F7603a87b-ebf3-4028-b853-a77a00fe5d33_convert%2Fpage_1.svg?GoogleAccessId=logan-testing@onesnatesting.iam.gserviceaccount.com&Expires=1493152792&Signature=e3WKLh7EuHKxt%2F%2BrCHNdU9Pt2QKaXuaPr5kfJ7%2Brnt4nLzOYvQQoO4C6NxH53ad2vg%2Fw%2FbDQh5Kb6X7vB%2Bg%2FTdrSpNjKjeBF6KEyZAGOFYqxlFxPi59JJ9vaCCWZgUOVQBd9BTXu9GRux6VB1G2UfvgcWtQhJLfMhKuJ3xPljb14LAgygvtt5YW0Y3mbU6BcQ1J5ZPzoCCt%2BTcVyJWKKEaq43keyZFiLn1Hzhs20RsCeChsHRBIOLDBB%2FYdfdPkz9CoovVONUQTGuRbQVRXQi2ugeXqfvgdn6vaNJuy5BXDb2J4xu%2FwDByUaDWDuyTjduGgfO0%2FdNleD%2BzdIQOBDBw%3D%3D"
    }
  ],
  "totalPages": 1,
  "nextUrl": "",
  "prevUrl": ""
}