Homec4science

knowledge: slugify and flag to access rest api

Authored by Leonardo Rossi <leonardo.r@cern.ch> on Jan 21 2015, 16:26.

Description

knowledge: slugify and flag to access rest api

  • Covers all possible rest api urls and returns "not allowed" if it's not implemented.
  • Adds a new field slug in knowledge and a mechanism to automatically generate it.
  • Uses the slug as key in REST API instead of id.
  • Adds a new field is_api_accessible to allow disabling REST API access to a mapping. (closes #2686)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
Leonardo Rossi <leonardo.r@cern.ch>Jan 28 2015, 15:56
Parents
R3600:d3bd5d28d06c: global: Invenio 1.9999.5.dev
Branches
Unknown
Tags
Unknown

Event Timeline

Leonardo Rossi <leonardo.r@cern.ch> committed R3600:716edb95d100: knowledge: slugify and flag to access rest api (authored by Leonardo Rossi <leonardo.r@cern.ch>).Jan 28 2015, 15:56