Skip to content
New issue

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

add a draft for the REST interface #61

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This is a service to assemble genomes and metagenomes with user's choice of asse
software.
It currently supports more than 20 assemblers and processing modules.

[REST API](REST_API.md)

Deploying and Testing AssemblyRAST client on KBase infrastructure
----------
Expand Down
49 changes: 49 additions & 0 deletions REST_API.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Summary

The KBase Assembly Service REST interface returns JSON messages.

# Job

## Get one job

/user/{user.id}/job/{?report}

## Status of a job

/user/{user.id}/job/{job.id}/status

## File info for all results of a job

/user/{user.id}/job/{job.id}/results{?type,tags}

# User

## user's data info

/user/{user.id}/data
/user/{user.id}/data/{data.id}

# Apps

## Modules available for pipeline

/module/all
/module/avail

example: http://140.221.84.124:8000/module/avail

# Blob storage

## Get Shock host URL

/shock

example: http://140.221.84.124:8000/shock

## More on shock

- Assembly service uses Shock as its blob storage appliance
- see https://github.com/MG-RAST/Shock
- see https://github.com/MG-RAST/Shock/wiki/API

example: http://140.221.84.205:8000/node/7373a98f-9135-4b91-85f9-2bb840444436?download