HTTP Routing Table

 
/(swh_id)
GET /(swh_id)/
 
/1
GET /1/<collection-name>/<deposit-id>/
GET /1/<collection-name>/<deposit-id>/content/
GET /1/servicedocument/
POST /1/<collection-name>/
POST /1/<collection-name>/<deposit-id>/media/
POST /1/<collection-name>/<deposit-id>/metadata/
PUT /1/<collection-name>/<deposit-id>/media/
PUT /1/<collection-name>/<deposit-id>/metadata/
 
/api
GET /api/1/content/[(hash_type):](hash)/
GET /api/1/content/[(hash_type):](hash)/filetype/
GET /api/1/content/[(hash_type):](hash)/language/
GET /api/1/content/[(hash_type):](hash)/license/
GET /api/1/content/[(hash_type):](hash)/raw/
GET /api/1/content/known/(sha1)[,(sha1), ...,(sha1)]/
GET /api/1/directory/(sha1_git)/[(path)/]
GET /api/1/origin/(origin_id)/
GET /api/1/origin/(origin_id)/visit/(visit_id)/
GET /api/1/origin/(origin_id)/visits/
GET /api/1/origin/(origin_type)/url/(origin_url)/
GET /api/1/origin/metadata-search/
GET /api/1/origin/save/(origin_type)/url/(origin_url)/
GET /api/1/origin/search/(url_pattern)/
GET /api/1/person/(person_id)/
GET /api/1/release/(sha1_git)/
GET /api/1/resolve/(swh_id)/
GET /api/1/revision/(sha1_git)/
GET /api/1/revision/(sha1_git)/directory/[(path)/]
GET /api/1/revision/(sha1_git)[/prev/(prev_sha1s)]/log/
GET /api/1/revision/origin/(origin_id)/[branch/(branch_name)/][ts/(timestamp)/]
GET /api/1/revision/origin/(origin_id)[/branch/(branch_name)][/ts/(timestamp)]/log
GET /api/1/snapshot/(snapshot_id)/
GET /api/1/stat/counters/
GET /api/1/vault/directory/(dir_id)/
GET /api/1/vault/directory/(dir_id)/raw/
GET /api/1/vault/revision/(rev_id)/gitfast/
GET /api/1/vault/revision/(rev_id)/gitfast/raw/
POST /api/1/origin/save/(origin_type)/url/(origin_url)/
POST /api/1/vault/directory/(dir_id)/
POST /api/1/vault/revision/(rev_id)/gitfast/
 
/browse
GET /browse/content/[(algo_hash):](hash)/
GET /browse/content/[(algo_hash):](hash)/raw/
GET /browse/directory/(sha1_git)/[(path)/]
GET /browse/origin/[(origin_type)/url/](origin_url)/branches/
GET /browse/origin/[(origin_type)/url/](origin_url)/content/(path)/
GET /browse/origin/[(origin_type)/url/](origin_url)/directory/[(path)/]
GET /browse/origin/[(origin_type)/url/](origin_url)/log/
GET /browse/origin/[(origin_type)/url/](origin_url)/releases/
GET /browse/origin/[(origin_type)/url/](origin_url)/visit/(timestamp)/branches/
GET /browse/origin/[(origin_type)/url/](origin_url)/visit/(timestamp)/content/(path)/
GET /browse/origin/[(origin_type)/url/](origin_url)/visit/(timestamp)/directory/[(path)/]
GET /browse/origin/[(origin_type)/url/](origin_url)/visit/(timestamp)/log/
GET /browse/origin/[(origin_type)/url/](origin_url)/visit/(timestamp)/releases/
GET /browse/origin/[(origin_type)/url/](origin_url)/visits/
GET /browse/person/(person_id)/
GET /browse/release/(sha1_git)/
GET /browse/revision/(sha1_git)/
GET /browse/revision/(sha1_git)/log/
GET /browse/snapshot/(snapshot_id)/
GET /browse/snapshot/(snapshot_id)/branches/
GET /browse/snapshot/(snapshot_id)/content/(path)/
GET /browse/snapshot/(snapshot_id)/directory/[(path)/]
GET /browse/snapshot/(snapshot_id)/log/
GET /browse/snapshot/(snapshot_id)/releases/
 
/vault
GET /vault/:objectkind/:objectid/:format
GET /vault/:objectkind/:objectid/:format/raw
POST /vault/:objectkind/:objectid/:format