Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !1523

Closed
Created Dec 16, 2021 by Cédric Le Ninivin@cedric.leninivinMaintainer
  • Report abuse
Report abuse

Jio api style: Introduce jIO API style to ERP5

  • Overview 63
  • Commits 11
  • Changes 138

First batch introducing jIO API Style to ERP5.

  • JSON Type has been updated to be use as Portal Type for Records of the API
    • Added interface for JSON Type to access JSON Content
    • Added Property Sheet to store json_content when text_content is not available.
  • JSON Form Introduce new portal type to act as a Form. A JSON Schema is defined on the JSON Form, upon calling a JSON form with a json, the json is validated against the schema before being process by an "after Method" in charge of handling the content
  • jIO Web Section are introduced. It configure the API by defining action_types for all four methods: "Post", "Put", "Get", "allDocs". Actions matching the action_types can be used for the API. For "Put" and "Get" calls, the action is to be defined on the portal_type of the object. For "Post" and "allDocs" the action is to be defined on the portal type: "jIO Web Section".
Edited Feb 02, 2022 by Cédric Le Ninivin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: jio-api-style
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7