•  
     
    story #13463 Split PATCH docman_items_type/id route and add new routes for updating metadata on type that can not be updated with the modal
Summary
Empty
Split PATCH docman_items_type/id route and add new routes for updating metadata on type that can not be updated with the modal
Empty
docman_items_type PATCH route should be deprecated

-rename update button into "create new version" in overview view

existing route behaviour is now spli int two:
- POST docman_item_type/id/version
this route will be used to create a new version of a document

- PUT docman_items_type/id/metadata
this route will be used to update the metadata of document
at the end of epic it should accept following representation:
{
"title": "..."
"description": "...",
"status",
"obsoclesence _date"
"owner"
"custom_metadata: [
{ ... }
]
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?

For folder, we need to distinguish metadata that directly concerns the folder from metadata who will be recursively applied on its children

Proposition of route:

{ "properties" : {"title": "somethign", "description": "xsxsxsxs"}, "default_properties": {"status":"draft", "apply_on": "none|folders|all_items"} }

Details
#13463
Clarck Robinson (robinsoc)
2019-07-18 17:58
2019-06-06 10:44
4142

References

Follow-ups

User avatar
  • Technical informations
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • I want to
    -Split PATCH docman_items_type/id route 
    +Split PATCH docman_items_type/id route and add new routes for updating metadata on type that can not be updated with the modal