name: content uploadPath: ../media/content meta: imageFilter: !include ../_imagefilter.yml projections: list: select: title: 1 date: 1 full: select: permissions: public: methods: get: true post: false put: false delete: false user: methods: get: true post: false put: false delete: false token:${TOKEN}: get: true post: true put: true delete: true pages: methods: get: true post: true put: true delete: true hooks: get: read: type: javascript file: hooks/democol/get_read.js return: type: javascript file: hooks/democol/get_return.js post: bind: type: javascript file: hooks/democol/post_bind.js validate: type: javascript file: hooks/democol/post_validate.js create: type: javascript file: hooks/democol/post_create.js return: type: javascript file: hooks/democol/post_return.js put: bind: type: javascript file: hooks/democol/put_bind.js validate: type: javascript file: hooks/democol/put_validate.js update: type: javascript file: hooks/democol/put_create.js return: type: javascript file: hooks/democol/put_return.js delete: delete: type: javascript file: hooks/democol/delete_delete.js return: type: javascript file: hooks/democol/delete_return.js fields: - !include fields/title.yml