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 ability to create unversioned data instance #22

Open
csweaver opened this issue Jun 15, 2016 · 0 comments
Open

Add ability to create unversioned data instance #22

csweaver opened this issue Jun 15, 2016 · 0 comments

Comments

@csweaver
Copy link
Contributor

I want to be able to create un-versioned key-value data instance specifically, but digging into the code it looks like if you are going to allow it for one, you might as well add it to all types.

    POST /api/repo/{uuid}/instance

Creates a new instance of the given data type.  Expects configuration data in JSON
as the body of the POST.  Configuration data is a JSON object with each property
corresponding to a configuration keyword for the particular data type.  

JSON name/value pairs:

REQUIRED "typename"   Type name of the new instance,
REQUIRED "dataname"   Name of the new instance
-->OPTIONAL "versioned"  If "false" or "0", the data is unversioned and acts as if 
                      all UUIDs within a repo become the root repo UUID.  (True by default.)
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