Project

Profile

Help

Issue #3093

Updated by daviddavis about 7 years ago

Hit the api schema (i.e. <code>http :8000/api/v3/</code>) :8000/api/v3/</code> and you'll see tons of extra params on links.  

 A couple examples: 

 1. Publish seems to take an 'auto_publish' param 
 2. Every delete endpoint takes the model's full set of parameters. Artifact's delete endpoint takes md5, sha1, etc. 
 3. The importer sync endpoint takes all the repo params including feed_url, download_policy, etc 

 I think whenever we specify a detail_route it's automatically using the model's serializer to determine what params to show in the API schema.

Back