the-grid / apidocs

API documentation for The Grid
https://developer.thegrid.io
44 stars 9 forks source link

site.url missing from schema #28

Closed hannesstruss closed 7 years ago

hannesstruss commented 9 years ago

also should probably be listed as required: https://github.com/the-grid/apis/issues/63

forresto commented 9 years ago
  1. So to set a custom URL, do we have to set both domain and url?
  2. To unset a custom domain, do we have to set domain to null and generate url from repo?
  3. Where in the code can I find the answers to :point_up:?
  4. Where in the docs should I be able to RTF docs?
bergie commented 9 years ago

site.url is a read-only property that the back-end provides for convenience when you read site data.

forresto commented 9 years ago
  1. To set a custom URL, just set domain?
  2. Can we specify https?
  3. To unset a custom domain, just set domain to null?
bergie commented 9 years ago

@forresto

  1. Yes
  2. Not at the moment, maybe in the future (though user may possibly do this with service like Cloudflare)
  3. Not supported yet (update: will be soon, just set to null to unset custom domain)