Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

sanger-archive/aker-ownership

 
 

Repository files navigation

aker_ownership

Simple storal/retrieval of ownership for uuid resources.

API description

  • Create a new ownership
POST /ownerships
Content-Type: application/json; charset=utf-8

{
  "ownership": {
    "owner_id": "An email",
    "model_id": "<UUID>",
    "model_type": "An identification string"
  }
}
  • Retrieve an ownership information
GET /ownerships/<UUID>

Running

  • Generate swagger API docs in /api-docs:
rake rswag:specs:swaggerize
rake assets:precompile
  • Start the server
rails s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.4%
  • HTML 0.6%