GithubHelp home page GithubHelp logo

api's People

Contributors

aaronarinder avatar biggerfisch avatar chriskemptondoc avatar connorstec avatar dajwill avatar erickrawczyk avatar mrspillingsley avatar nronnei avatar oshbec avatar siromivel avatar srlsoc avatar stevewritescode avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

Allow registrations to be modified, expose originalGroupID

Registrations will be modifiable via PUT request. The only property that can be changed is groupID.

Group can be changed to any parent or child of the original group, provided that it doesn't conflict with another registration (only when reassigning to a parent). We'll expose this original group through originalGroupID.

Basic profile collection route

We'll be adding a route to get all profiles within an organization:

GET /api/organizations/<orgID>/profiles

We have corresponding functionality internally that accepts different parameters that allow filtering, inclusion of related data (medications, allergies, etc), and formatting (CSV, JSON, PDF). While this route will eventually have these features (and will have the capabilities of the list and report builder in the UI), we're starting now with a basic list. We'll incrementally be adding the other features as needed.

Allow for registrations to be deactivated / deleted

Currently, registrations can be created and reviewed. We need to add a route to allow a registration to be deactivated:

DELETE /api/organizations/<orgID>/profiles/<profileID>/registrations/<registrationID>

Allow API key to be regenerated

Sometimes you need a new API key. Maybe you shouted it into a speech-to-text program in a coffee shop. Maybe you want to recycle them on a regular basis. I'm thinking something simple like:

POST /api/refresh-key

It'd respond with a new key in the body. Shouldn't be tied to an org in the URL since the keys are user-specific.

GET users response is missing phone and location fields

I cannot retrievephone or location fields in the GET call for users:

GET /v2/organizations/{orgID}/profiles/{profileID}/users

The docs mention these fields, but I'm not clear on how to retrieve them since the GET response does not include them. I've confirmed via the web UI that there are many users in my organization with phone numbers and locations set, but I do not see it in the API responses.

The contributing guide asks for a X-Request-Identifier header examples in bug requests, but I do not see that response header. I do see a CF-RAY value, which might still serve the same purpose for you? Here's an example:

CF-RAY: 6df99b0aef138c48-EWR

Thank you!

Include "completeness" on the Profile object

Internally, we cache a measure of "completeness" for each profile's health form. This is an integer from 0 to 100 (or NULL when there's no health form, as with providers).

We can include this property on Profile.

Question re: Error Codes

Do you currently have a list of the possible error codes that might be returned via the API? We have recently implemented the API for WinShape Camps and their admin team has asked for this, since we are capturing your error code & text when we encounter an error. Any assistance would be greatly appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.