linz / lds-metadata-updater

For downloading, editing and then setting LDS metadata
0 stars 2 forks source link

Enhancement: add revision message #27

Open billgeo opened 6 years ago

billgeo commented 6 years ago

In Koordinates platform you can add a revision message when you update a layer. A future enhancement could be to add a custom revision message when the layers are updated.

hamishcampbell commented 6 years ago

Hi team,

Just wanted to note for future implementation: in my own testing I recently discovered that the revision message could not be set via the API. This has been remedied. A reference text attribute can be supplied when creating/editing drafts via the API.

For example:

POST /layers/:id/versions/
{
    "reference": "This will create a draft with no changes except this revision message"
}

Note that the reference will appear in the version object (where it does now) rather than the top level Layer.