diff --git a/readme.md b/readme.md index 1561eae..4d482f8 100644 --- a/readme.md +++ b/readme.md @@ -69,12 +69,15 @@ Repo UID is created when a new repo is created. # list names of repos along with IDs GET /api/repos/ - + Example: curl -X GET http://:7376/api/repos/ -H 'Authorization: Token ' + # Show details for a particular repo GET /api// # Create a new repo POST /api/repos/ + Example: curl -X POST http://:7376/api/repos/ -H 'Authorization: Token ' -F "repo_uid=" -F "repo_type=" -F "signing_key=/ @@ -88,10 +91,12 @@ Package UID is created when a new package is uploaded or copied # Upload a package to a repo POST /api//upload/ - + Example: curl -X POST http://:7376/api//upload/ -H 'Authorization: Token ' -F "package_file=@/path/to/your.deb" + # Delete a package DELETE /api//pkg// - + Example: curl -X DELETE http://:7376/api//pkg/ -H 'Authorization: Token ' + # Show details for a particular package GET /api//pkg// @@ -166,4 +171,4 @@ Next, open four separate tabs and run the following commands: Tab 4: nginx -c /storage/projects/openrepo/deploy/nginx/nginx.conf.dev -Next, navigate to http://localhost:5173/ to see your code updates. Both the Vue.js dev server and the Django dev server support live updates on code changes. \ No newline at end of file +Next, navigate to http://localhost:5173/ to see your code updates. Both the Vue.js dev server and the Django dev server support live updates on code changes.