{"id":19319340,"url":"https://github.com/hackstarsj/djangorestapitutorial","last_synced_at":"2025-08-12T13:06:30.205Z","repository":{"id":129429348,"uuid":"275591043","full_name":"hackstarsj/DjangoRestApiTutorial","owner":"hackstarsj","description":"DjangoRestApiTutorial","archived":false,"fork":false,"pushed_at":"2020-06-30T08:49:22.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T17:42:42.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackstarsj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-28T13:30:19.000Z","updated_at":"2023-03-05T15:28:46.000Z","dependencies_parsed_at":"2023-07-24T13:16:05.210Z","dependency_job_id":null,"html_url":"https://github.com/hackstarsj/DjangoRestApiTutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hackstarsj/DjangoRestApiTutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackstarsj%2FDjangoRestApiTutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackstarsj%2FDjangoRestApiTutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackstarsj%2FDjangoRestApiTutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackstarsj%2FDjangoRestApiTutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackstarsj","download_url":"https://codeload.github.com/hackstarsj/DjangoRestApiTutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackstarsj%2FDjangoRestApiTutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270065428,"owners_count":24520946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T01:23:14.640Z","updated_at":"2025-08-12T13:06:30.196Z","avatar_url":"https://github.com/hackstarsj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"FOR GET DATA in LIST EXAMPLE\n\u003cbr\u003e\n\u003cbr\u003e\ncurl http://127.0.0.1:8000/posts/\n\n\n\u003cbr\u003e\n=====================================================\n\u003cbr\u003e\nFOR POST DATA MEANS  INSERT DATA in TABLE\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X PUT http://127.0.0.1:8000/posts/1/ -d post_title=\"Demo Post Updated\" -d post_descripti\non=\"Demo Description Updated\"\n\u003cbr\u003e\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR UPDATE into TABLE BY ID\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X PUT http://127.0.0.1:8000/posts/1/ -d post_title=\"Demo Post Updated\" -d post_descripti\non=\"Demo Description Updated\"\n\u003cbr\u003e\n\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\nFOR DELETE DATA DATA BY ID\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X DELETE  http://127.0.0.1:8000/posts/1/\n\u003cbr\u003e\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR SINGLE POST FETCH BY ID\n\u003cbr\u003e\ncurl http://127.0.0.1:8000/posts/1/\n\u003cbr\u003e\n\u003cbr\u003e\n\n=================================================\n\u003cbr\u003e\n\u003ch2\u003eFor Alternate Method for Seprate POST,GET,PUT\u003c/h2\u003e\n\nFOR GET DATA in LIST EXAMPLE\n\u003cbr\u003e\n\u003cbr\u003e\ncurl http://127.0.0.1:8000/posts_2/\n\n\n\u003cbr\u003e\n=====================================================\n\u003cbr\u003e\nFOR POST DATA MEANS  INSERT DATA in TABLE\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X PUT http://127.0.0.1:8000/posts_2/1/ -d post_title=\"Demo Post Updated\" -d post_descripti\non=\"Demo Description Updated\"\n\u003cbr\u003e\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR UPDATE into TABLE BY ID\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X PUT http://127.0.0.1:8000/posts_2/1/ -d post_title=\"Demo Post Updated\" -d post_descripti\non=\"Demo Description Updated\"\n\u003cbr\u003e\n\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\nFOR DELETE DATA DATA BY ID\n\u003cbr\u003e\n\u003cbr\u003e\ncurl -X DELETE  http://127.0.0.1:8000/posts_2/1/\n\u003cbr\u003e\n\u003cbr\u003e\n=========================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR SINGLE POST FETCH BY ID\n\u003cbr\u003e\ncurl http://127.0.0.1:8000/posts_2/1/\n\u003cbr\u003e\n\u003cbr\u003e\n\n=================================================\n\u003cbr\u003e\n\u003ch2\u003eTOKEN GENERATE for Authorized Access API\u003c/h2\u003e\n\u003cbr\u003e\n==================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR JSON WEB TOKEN GENERATE \u003cbr\u003e\n\ncurl -X POST http://127.0.0.1:8000/api/auth/token -d \"username=admin\" -d \"password=admin\"\n\n=================================================\n\u003cbr\u003e\n\u003cbr\u003e\nFOR Native TOKEN GENERATE \u003cbr\u003e\n\ncurl -X POST http://127.0.0.1:8000/token_generate/ -d \"username=admin\" -d \"password=admin\"\n\n=================================================\n\n\u003cbr\u003e\n\u003cbr\u003e\nFOR JWT TOKEN REFRESH \u003cbr\u003e\n\ncurl -X POST http://127.0.0.1:8000/api/auth/refresh -d \"refresh=REFRESH TOKEN\" -H \"Authorization:ACCESS_TOKEN_JWT\"\n\n=================================================\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackstarsj%2Fdjangorestapitutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackstarsj%2Fdjangorestapitutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackstarsj%2Fdjangorestapitutorial/lists"}