{"id":13311751,"url":"https://github.com/eshikafe/paws","last_synced_at":"2026-01-16T22:33:10.562Z","repository":{"id":101982650,"uuid":"367524373","full_name":"eshikafe/paws","owner":"eshikafe","description":"Protocol to Access White Space database","archived":false,"fork":false,"pushed_at":"2023-07-02T22:06:13.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T05:11:31.147Z","etag":null,"topics":["https","ietf","json","rpc","tvws"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/eshikafe.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":"2021-05-15T02:38:05.000Z","updated_at":"2023-07-02T22:07:26.000Z","dependencies_parsed_at":"2023-07-14T03:21:02.626Z","dependency_job_id":null,"html_url":"https://github.com/eshikafe/paws","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshikafe%2Fpaws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshikafe%2Fpaws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshikafe%2Fpaws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshikafe%2Fpaws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshikafe","download_url":"https://codeload.github.com/eshikafe/paws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242892578,"owners_count":20202560,"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","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":["https","ietf","json","rpc","tvws"],"created_at":"2024-07-29T18:02:29.377Z","updated_at":"2026-01-16T22:33:10.539Z","avatar_url":"https://github.com/eshikafe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PAWS\n\n**PAWS** - Protocol to Access White Space database. It is based on [RFC 7545](https://datatracker.ietf.org/doc/rfc7545/).\n\n## Setup\n- Install [Rust](https://www.rust-lang.org/tools/install).\n- Clone the repo: `git clone https://github.com/eshikafe/paws.git`\n- Change directory: `cd paws`\n- Development mode: Start the PAWS server with `cargo run --bin paws-server`\n- Production mode: Run: `cargo build --release --bin paws-server` and `.\\target\\release\\paws-server.exe`\n- Access the API via URL `http://localhost:3030/v1beta/`\n\n## How to create a binary\n\n- `cd paws`\n- `cargo build --release --bin paws-server`\n\n## PAWS API Documentation\n\nAPI version: `v1beta`.\u003cbr\u003e\nThis is the API documentation for the PAWS protocol.\n\n## Endpoints\n\n### Version\n\nThis endpoint returns the PAWS protocol version.\n\n| Method | Path                 |\n| :----- | :------------------- |\n| `GET`  | `/paws/version`      |\n\nSample Request\n\n```\ncurl --request GET localhost:3030/v1beta/paws/version\n```\n\nSample Response:\n\n```\n{\n    \"pawsVersion\": \"1.0\"\n}\n\n```\n\n### Initialization\n\nThis endpoint starts the PAWS `Initialization` request procedure. It allows you to send the PAWS `INIT_REQ` message. It returns a PAWS `INIT_RESP` message.\n\n| Method | Path                 |\n| :----- | :------------------- |\n| `POST` | `/paws/init`         |\n\nSample Request\n\n```\ncurl --request POST localhost:3030/v1beta/paws/init \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n\"jsonrpc\": \"2.0\",\n\"method\": \"spectrum.paws.init\",\n\"params\": {\n    \"type\": \"INIT_REQ\",\n    \"version\": \"1.0\",\n    \"deviceDesc\": {\n      \"serialNumber\": \"XXX\",\n      \"fccId\": \"YYY\",\n      \"rulesetIds\": [\"NccTvBandWhiteSpace-2019\"]\n     },\n    \"location\": {\n        \"point\": {\n            \"center\": {\"latitude\": 37.0, \"longitude\": -101.3}\n        }\n    }\n},\n\"id\": \"idString\"\n}'\n```\n\nSample Response:\n\n```\n{\n    \"jsonrpc\": \"2.0\",\n    \"result\": {\n     \"type\": \"INIT_RESP\",\n     \"version\": \"1.0\",\n     \"rulesetInfos\": [\n       {\n         \"authority\": \"ng\",\n         \"rulesetId\": \"NccTvBandWhiteSpace-2010\",\n         \"maxLocationChange\": 100,\n         \"maxPollingSecs\": 86400\n       }\n     ]\n    },\n    \"id\": \"xxxxxx\"\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshikafe%2Fpaws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshikafe%2Fpaws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshikafe%2Fpaws/lists"}