API structure has changed
Minor change
We have changed the previews endpoint to make it possible to create/update a preview with a unique url field only. We will take care of downloading the definition from that URL and publish your documentation preview.
Minor refactoring
This change around the definition attribute is mostly a modelling change on our Preview model. The change doesn't affect clients.
2 structure changes including:
2 Modifications
Modified
2
POST /previews
- Body
-
application/json content type Modified
-
definition property Modified
-
Permission is now
writeOnly - Property is no longer required
-
definition property Modified
-
Permission is now
writeOnly - Property is no longer required
-
Permission is now
-
Permission is now
- url property Added
-
definition property Modified
PUT /previews/{preview_id}
- Body
-
application/json content type Modified
-
definition property Modified
-
Permission is now
writeOnly - Property is no longer required
-
definition property Modified
-
Permission is now
writeOnly - Property is no longer required
-
Permission is now
-
Permission is now
- url property Added
-
definition property Modified