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

API endpoint /canonical-number #7

Open
6 of 7 tasks
mjstealey opened this issue Jun 20, 2022 · 0 comments
Open
6 of 7 tasks

API endpoint /canonical-number #7

mjstealey opened this issue Jun 20, 2022 · 0 comments

Comments

@mjstealey
Copy link
Member

mjstealey commented Jun 20, 2022

/canonical-experiment-number

Endpoints

  • /canonical-experiment-number
  • /canonical-experiment-number/{int:pk}
  • /canonical-experiment-number/current

Functions

  • search - by ? as operator
  • detail - by canonical_number_id as operator
  • get current - GET current canonical number
  • set new current - PUT new canonical number (default is +1 from current unless specified)

Fields

--- /canonical-number
canonical_number:          - int
canonical_number_id:       - int
timestamp:                 - string
--- /canonical-number/{int:pk}
canonical_number:          - int
canonical_number_id:       - int
created_date:              - string
is_deleted:                - bool
is_retired:                - bool
modified_date:             - string
timestamp:                 - string
--- /canonical-number/current
current_canonical_number:  - int
@mjstealey mjstealey changed the title API endpoint /canonical-experiment-number API endpoint /canonical-number Jun 24, 2022
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