Bug #10349

[DOC] add cookbook section with code snippets

Added by Ward Vandewege 11 months ago. Updated 11 days ago.

Status:ResolvedStart date:10/25/2016
Priority:NormalDue date:
Assignee:Peter Amstutz% Done:

100%

Category:-
Target version:2017-09-13 Sprint
Story points0.5Remaining (hours)0.00 hour
Velocity based estimate-

Description

More examples for api calls with real use cases, e.g. users/links/groups, or collections/projects, i.e. let’s add a cookbook section with code snippets to doc.arvados.org


Subtasks

Task #10381: ReviewResolvedBryan Cosca

Associated revisions

Revision 7385689b
Added by Peter Amstutz 12 days ago

Merge branch '10349-cookbook' closes #10349

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Tom Morris 11 months ago

  • Assignee set to Tom Morris
  • Target version set to 2016-11-09 sprint
  • Story points set to 0.5

#2 Updated by Tom Morris 11 months ago

  • Target version changed from 2016-11-09 sprint to 2016-11-23 sprint

#3 Updated by Tom Morris 10 months ago

  • Target version changed from 2016-11-23 sprint to 2016-12-14 sprint

#4 Updated by Tom Morris 9 months ago

  • Target version changed from 2016-12-14 sprint to 2017-01-04 sprint

#5 Updated by Tom Morris 9 months ago

  • Target version changed from 2017-01-04 sprint to 2017-01-18 sprint

#6 Updated by Tom Morris 8 months ago

  • Target version changed from 2017-01-18 sprint to 2017-02-01 sprint

#7 Updated by Tom Morris 8 months ago

  • Target version changed from 2017-02-01 sprint to 2017-02-15 sprint

#8 Updated by Tom Morris 7 months ago

  • Target version changed from 2017-02-15 sprint to 2017-03-01 sprint

#9 Updated by Tom Morris 7 months ago

  • Target version changed from 2017-03-01 sprint to 2017-03-15 sprint

#10 Updated by Radhika Chippada 6 months ago

  • Target version changed from 2017-03-15 sprint to 2017-03-29 sprint

#11 Updated by Tom Morris 6 months ago

  • Target version changed from 2017-03-29 sprint to 2017-04-12 sprint

#12 Updated by Tom Morris 6 months ago

  • Target version changed from 2017-04-12 sprint to 2017-04-26 sprint

#13 Updated by Tom Morris 5 months ago

  • Target version changed from 2017-04-26 sprint to 2017-05-10 sprint

#14 Updated by Tom Morris 5 months ago

  • Target version changed from 2017-05-10 sprint to 2017-05-24 sprint

#15 Updated by Tom Morris 4 months ago

  • Target version changed from 2017-05-24 sprint to 2017-06-07 sprint

#16 Updated by Tom Morris 4 months ago

  • Target version changed from 2017-06-07 sprint to 2017-06-21 sprint

#17 Updated by Tom Morris 3 months ago

  • Target version changed from 2017-06-21 sprint to 2017-07-05 sprint

#18 Updated by Tom Morris 3 months ago

  • Status changed from New to In Progress
  • Target version changed from 2017-07-05 sprint to 2017-07-19 sprint

#19 Updated by Tom Morris 2 months ago

  • Target version changed from 2017-07-19 sprint to 2017-08-02 sprint

#20 Updated by Tom Morris about 1 month ago

  • Target version changed from 2017-08-02 sprint to 2017-08-16 sprint

#21 Updated by Peter Amstutz about 1 month ago

I started writing out some code snippits for operating on container requests based on the scripts at https://github.com/bcosc/arvados-tools

10349-cookbook @ efd0ed5fa583d09f7d272ecc9461ec1684cf0cb4

#22 Updated by Tom Morris about 1 month ago

  • Assignee deleted (Tom Morris)

#23 Updated by Tom Morris about 1 month ago

  • Target version changed from 2017-08-16 sprint to 2017-08-30 Sprint

#24 Updated by Peter Amstutz about 1 month ago

  • Assignee set to Peter Amstutz

#25 Updated by Bryan Cosca about 1 month ago

Ideas to add: (These are things I think I know how to do, but think other people would want) This all comes from a debugging standpoint and trying to get info out of a workflow as fast as possible.

Given a top level container request:

List output pdh of all child container requests
List output pdh of only some child container requests (maybe this is just a grep of listing all)

List inputs of all child container requests (not just the input yml, the pdhs and files)
List inputs of only some child container requests (maybe this is just a grep of listing all)

List all child failed container request uuids given top level uuid

List log file pdh given container request uuid

#26 Updated by Peter Amstutz 25 days ago

  • Target version changed from 2017-08-30 Sprint to 2017-09-13 Sprint

#27 Updated by Bryan Cosca 12 days ago

The parent uuids are inconsistent, and should just be one example: qr1hi-xvhdp-zzzzzzzzzzzzzzz

Please change all parent_request_uuid/container_request_uuids to qr1hi-xvhdp-zzzzzzzzzzzzzzz

Also maybe make this one also use qr1hi? So its consistent? maybe its nitpicking, so no big deal if this doesn't get changed.

download="https://your.download.server"
collection_uuid="your-4zz18-collectionuuid"

Otherwise everything else lgtm, feel free to resolve when you make the changes.

#28 Updated by Peter Amstutz 12 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:7385689b6fd8df96434aadf7c0377d684c4abe1c.

Also available in: Atom PDF