Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add endpoints for meta models #6

Open
magicknot opened this issue Oct 27, 2017 · 0 comments
Open

Add endpoints for meta models #6

magicknot opened this issue Oct 27, 2017 · 0 comments
Assignees

Comments

@magicknot
Copy link
Contributor

magicknot commented Oct 27, 2017

List meta models

  • GET /metamodels returns a list of all meta models available.

List a single meta model

  • GET /metamodels/:id returns the meta model identified by id.

Create a new meta model

  • POST /metamodels creates a new meta model. A JSON body must be passed:
{
  "name": "",
  "description": "",
  "entity_types: [],
}

Assign a meta model to a document

  • PUT /documents/:id adds a new meta model to a document. A JSON body must be passed:
{
  "metamodel": metamodel_id
}
@magicknot magicknot self-assigned this Oct 27, 2017
@magicknot magicknot removed the feature label Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant