{"id":31628512,"url":"https://github.com/icarogabryel/rest-rfid-authorization","last_synced_at":"2026-05-14T12:34:22.281Z","repository":{"id":315183920,"uuid":"1058446387","full_name":"icarogabryel/rest-rfid-authorization","owner":"icarogabryel","description":"Simple RESTful API for managing RFID card authorization to study single app minimalist Django project structure.","archived":false,"fork":false,"pushed_at":"2025-09-18T01:11:55.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T20:59:37.513Z","etag":null,"topics":["django","django-rest-framework","rest-api","rfid","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icarogabryel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-17T05:27:41.000Z","updated_at":"2025-09-18T01:11:58.000Z","dependencies_parsed_at":"2025-09-18T02:37:15.690Z","dependency_job_id":null,"html_url":"https://github.com/icarogabryel/rest-rfid-authorization","commit_stats":null,"previous_names":["icarogabryel/todo-rest","icarogabryel/rest-rfid-authorization"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icarogabryel/rest-rfid-authorization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarogabryel%2Frest-rfid-authorization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarogabryel%2Frest-rfid-authorization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarogabryel%2Frest-rfid-authorization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarogabryel%2Frest-rfid-authorization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarogabryel","download_url":"https://codeload.github.com/icarogabryel/rest-rfid-authorization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarogabryel%2Frest-rfid-authorization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33025130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["django","django-rest-framework","rest-api","rfid","webapp"],"created_at":"2025-10-06T20:58:42.500Z","updated_at":"2026-05-14T12:34:22.276Z","avatar_url":"https://github.com/icarogabryel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🪪 RFID Authorization REST API\n\nThis is a simple RESTful API for managing RFID card authorization to study single app minimalist Django project structure.\n\n## 🧩 Business Rules\n\nEach RFID card registered in the system has an access level. The embedded systems will be the edge nodes and each will have inside their firmware the minimum access level required to enter a specific area. The edge nodes can retrieve a specific card to check its access level, create a new card, update the access level of an existing card or delete a card.\n\n## 🚪 Access Levels\n\nThe access levels are like the Resident Evil 2 video game, where the player can find different access electronic chips to open doors with different colors. The access levels are:\n\n- \u003cspan style=\"color:green\"\u003eGREEN\u003c/span\u003e: can open \u003cspan style=\"color:green\"\u003eGREEN\u003c/span\u003e doors\n- \u003cspan style=\"color:blue\"\u003eBLUE\u003c/span\u003e: can open \u003cspan style=\"color:green\"\u003eGREEN\u003c/span\u003e and \u003cspan style=\"color:blue\"\u003eBLUE\u003c/span\u003e doors\n- \u003cspan style=\"color:purple\"\u003ePURPLE\u003c/span\u003e: can open \u003cspan style=\"color:green\"\u003eGREEN\u003c/span\u003e, \u003cspan style=\"color:blue\"\u003eBLUE\u003c/span\u003e and \u003cspan style=\"color:purple\"\u003ePURPLE\u003c/span\u003e doors\n\n## 🌐 API Endpoints\n\n- Create Card\n  - Path: `/card/`\n  - Method: `POST`\n  - Request body:\n\n    ```json\n    {\n    \"id\": \"string\",\n    \"access_level\": \"string\",\n    }\n    ```\n\n  - Response code: 201 Created\n  - Response body:\n\n    ```json\n    {\n    \"id\": \"string\",\n    \"access_level\": \"string\",\n    }\n    ```\n\n- Retrieve Card\n  - Path: `/card/{id}/`\n  - Method: `GET`\n\n  - Response code: 200 OK\n  - Response body:\n\n    ```json\n    {\n    \"id\": \"string\",\n    \"access_level\": \"string\",\n    }\n    ```\n\n- Update Card\n  - Path: `/card/{id}/`\n  - Method: `PUT`\n  - Request body:\n\n    ```json\n    {\n      \"access_level\": \"string\",\n    }\n    ```\n\n  - Response code: 200 OK\n  - Response body:\n\n    ```json\n    {\n    \"id\": \"string\",\n    \"access_level\": \"string\",\n    }\n    ```\n\n- Destroy Card\n  - Path: `/card/{id}/`\n  - Method: `DELETE`\n  - Response code: 204 No Content\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarogabryel%2Frest-rfid-authorization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficarogabryel%2Frest-rfid-authorization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarogabryel%2Frest-rfid-authorization/lists"}