2013-10-01 14:19:46 |
Lars Butler |
description |
Two new DB tables:
artifact_group:
- id
- name
- group_type ("map", "calculation", etc.)
- user_id (FK to Django User table)
artifact_group_link:
- id
- artifact_id (FK to icebox's Artifact table)
- artifact_group_id (FK to icebox's ArtifactGroup table)
Two new REST API methods:
- GET /icebox/artifact_groups
- GET /icebox/artifact_group/:group_id |
Two new DB tables:
artifact_group:
- id
- name
- group_type ("map", "calculation", etc.)
- user_id (FK to Django User table)
artifact_group_link:
- id
- artifact_id (FK to icebox's Artifact table)
- artifact_group_id (FK to icebox's ArtifactGroup table)
Two new REST API methods:
- GET /icebox/artifact_groups
- optional group_type=<group_type> parameter
- GET /icebox/artifact_group/:group_id
The POST /icebox/artifacts/import implementation needs to updated to
- create an artifact_group with group_type=="calculation"
- create an artifact record also for the calculation summary json blob |
|