We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In this morning's Asset Tracker Engineering Sprint, Rodrigo, Junbin, Roy drafted the URL structure for the updated back-end.
GET /authorizations.json
userId (string) = 123
roles (list of strings) = ["con-edison member", "pg-and-e member"] leader = APPA superuser member spectator con-edison leader
pg-and-e member
pg-and-e spectator
GET /authorizations/leave
GET /assets.json
id = STRING
typeId = STRING (m for meter, s for substation, t for transformer)
name = STRING
attributes = DICTIONARY of asset type specific attributes (depends on asset type) - vendor = STRING - product = STRING - version = STRING
busByIndex = DICTIONARY 0: { id of bus attributes for connection }
PATCH /assets.json
DELETE /assets/123.json
GET /tasks.json
POST /tasks.json Create new task
PATCH /tasks/123.json Update existing task
DELETE /tasks/123.json Delete existing task
GET /tasks/123/comments.json Get all comments for task
POST /tasks/123/comments.json Add a new comment
PATCH /tasks/123/comments/123.json Edit an existing comment
DELETE /tasks/123/comments/123.json Delete an existing comment
GET /risks.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this morning's Asset Tracker Engineering Sprint, Rodrigo, Junbin, Roy drafted the URL structure for the updated back-end.
GET /authorizations.json
userId (string) = 123
roles (list of strings) = ["con-edison member", "pg-and-e member"]
leader = APPA superuser
member
spectator
con-edison leader
pg-and-e member
pg-and-e spectator
GET /authorizations/leave
GET /assets.json
Each asset
id = STRING
typeId = STRING (m for meter, s for substation, t for transformer)
name = STRING
attributes = DICTIONARY of asset type specific attributes (depends on asset type)
- vendor = STRING
- product = STRING
- version = STRING
busByIndex = DICTIONARY
0: {
id of bus
attributes for connection
}
PATCH /assets.json
DELETE /assets/123.json
GET /tasks.json
Each object
0 = New
100 = Done
POST /tasks.json Create new task
PATCH /tasks/123.json Update existing task
DELETE /tasks/123.json Delete existing task
GET /tasks/123/comments.json Get all comments for task
POST /tasks/123/comments.json Add a new comment
PATCH /tasks/123/comments/123.json Edit an existing comment
DELETE /tasks/123/comments/123.json Delete an existing comment
GET /risks.json
The text was updated successfully, but these errors were encountered: