bcgov / kirk

Keeping Information Replicated Kontinuously (KIRK) at DSS-DPS.
Apache License 2.0
0 stars 2 forks source link

Add Jobid to response when job created #4

Open franTarkenton opened 6 years ago

franTarkenton commented 6 years ago

Currently, when a new job is created by POST /api/v1/jobs, it returns:

If the response includes the job id then its possible to use that to attach sources / destinations without having to perform another query.

https://stackoverflow.com/questions/38667368/django-rest-framework-get-all-data-but-post-pk