Skip to content

API Model Interface Proposal #1

@AustinMCrane

Description

@AustinMCrane

in order to get the side options for the wizard i am proposing the following backend architecture.

To get side options:
GET 'your base api url'

Example json result:

{
  models: [
    {
      title: 'Cars',
      crud: {
        create: 'url to POST to to create a car',
        index: 'url to GET all cars',
        show: 'url to GET a specific car EXAMPLE: http://bobscars.com/api/cars/:id with id being a convention to get the car with that id',
        update: 'url to PUT an update to a specific car while following the same conventions as #show ^^',
        delete: 'url to DELETE a specific car with the id convention above ^^^'
      }
    },
    {
      ect...
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions