{"id":30348954,"url":"https://github.com/reelyactive/record-silo","last_synced_at":"2026-01-20T16:53:44.989Z","repository":{"id":283762440,"uuid":"952815949","full_name":"reelyactive/record-silo","owner":"reelyactive","description":"Data silo for digital records produced by IoT devices. We believe in an open Internet of Things.","archived":false,"fork":false,"pushed_at":"2025-08-14T13:56:15.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T21:09:31.489Z","etag":null,"topics":["image-store","pareto-anywhere"],"latest_commit_sha":null,"homepage":"https://www.reelyactive.com/pareto/anywhere/","language":"JavaScript","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/reelyactive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-21T23:55:11.000Z","updated_at":"2025-08-14T13:56:19.000Z","dependencies_parsed_at":"2025-03-22T02:31:01.517Z","dependency_job_id":"cbf96984-3f8e-475c-a082-6d83a1f9da9a","html_url":"https://github.com/reelyactive/record-silo","commit_stats":null,"previous_names":["reelyactive/record-silo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reelyactive/record-silo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Frecord-silo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Frecord-silo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Frecord-silo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Frecord-silo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reelyactive","download_url":"https://codeload.github.com/reelyactive/record-silo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Frecord-silo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271050810,"owners_count":24691184,"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-18T02:00:08.743Z","response_time":89,"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":["image-store","pareto-anywhere"],"created_at":"2025-08-18T19:44:51.237Z","updated_at":"2026-01-20T16:53:44.984Z","avatar_url":"https://github.com/reelyactive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"record-silo\n===========\n\nThe __record-silo__ is a digital records store and an accessory module of [Pareto Anywhere](https://www.reelyactive.com/pareto/anywhere/) open source IoT middleware.\n\n![Overview of record-silo](https://reelyactive.github.io/record-silo/images/overview.png)\n\nSpecifically, the __record-silo__ stores digital images on the local filesystem, providing an API for storage and retrieval.  The __record-silo__ can run standalone, even on resource-constrained devices.\n\n\nQuick Start\n-----------\n\nClone this repo then install dependencies with:\n\n    npm install\n\nRun the record-silo with:\n\n    npm start\n\nPOST a record (.jpg/.jpeg/.png/.gif) to http://localhost:3001/records/device/4ec04d7e57e4/2 as detailed in the REST API section below.\n\n\nREST API\n--------\n\nThe __record-silo__'s REST API includes the following base route:\n- /records _for storing and retrieving record files_\n\n### GET /records\n\nRetrieve a list of all records.\n\n#### Example request\n\n| Method | Route    | Content-Type     |\n|:-------|:---------|:-----------------|\n| GET    | /records | application/json |\n\n#### Example response\n\n    {\n      \"_meta\": {\n        \"message\": \"ok\",\n        \"statusCode\": 200\n      },\n      \"_links\": {\n        \"self\": {\n          \"href\": \"http://localhost:3001/records\"\n        }\n      },\n      \"records\": {\n        \"250512-123456-device-4ec04d7e57e4-2-image.jpg\": {},\n        \"250512-223344-device-4ec04d7e57e4-2-image.jpg\": {}\n      }\n    }\n\n\n### GET /records/{filename}\n\nRetrieve a record with the given _filename_.\n\n#### Example request\n\n| Method | Route                                           | Content-Type     |\n|:-------|:------------------------------------------------|:-----------------|\n| GET    | /records/250512-123456-device-4ec04d7e57e4-2-image.jpg | application/json |\n\n#### Example response\n\nIf it exists, the file is returned.  Else a 404 Not Found error is returned.\n\n\n### GET /records/device/{id}/{type}\n\nRetrieve a list of records associated with the given device _id_ and _type_.\n\n#### Example request\n\n| Method | Route                          | Content-Type     |\n|:-------|:-------------------------------|:-----------------|\n| GET    | /records/device/4ec04d7e57e4/2 | application/json |\n\n#### Example response\n\n    {\n      \"_meta\": {\n        \"message\": \"ok\",\n        \"statusCode\": 200\n      },\n      \"_links\": {\n        \"self\": {\n          \"href\": \"http://localhost:3001/records/device/4ec04d7e57e4/2\"\n        }\n      },\n      \"records\": {\n        \"250512-123456-device-4ec04d7e57e4-2-image.jpg\": {\n          \"device\": \"4ec04d7e57e4/2\"\n        },\n        \"250512-223344-device-4ec04d7e57e4-2-image.jpg\": {\n          \"device\": \"4ec04d7e57e4/2\"\n        }\n      }\n    }\n\n### POST /records/device/{id}/{type}\n\nCreate a record associated with the given device _id_ and _type_.  The file name of the record is provided in the response.\n\n#### Example request\n\n| Method | Route                          | Content-Type        |\n|:-------|:-------------------------------|:--------------------|\n| POST   | /records/device/4ec04d7e57e4/2 | multipart/form-data |\n\nThe form-data must contain a record as follows:\n\n| Key      | Value        | Example      |\n|:---------|:-------------|:-------------|\n| record   | (file)       | image.jpg    |\n\nThe following Postman screenshot details a valid request:\n\n![Postman POST /records](https://reelyactive.github.io/record-silo/images/postman-post-records.png)\n\n#### Example response\n\n    {\n      \"_meta\": {\n        \"message\": \"created\",\n        \"statusCode\": 201\n      },\n      \"_links\": {\n        \"self\": {\n          \"href\": \"http://localhost:3001/records/device/4ec04d7e57e4/2\"\n        }\n      },\n      \"records\": {\n        \"250512-123456-device-4ec04d7e57e4-2-image.jpg\": {\n          \"device\": \"4ec04d7e57e4/2\",\n          \"timestamp\": 1747085146380\n        }\n      }\n    }\n\n\nContributing\n------------\n\nDiscover [how to contribute](CONTRIBUTING.md) to this open source project which upholds a standard [code of conduct](CODE_OF_CONDUCT.md).\n\n\nSecurity\n--------\n\nConsult our [security policy](SECURITY.md) for best practices using this open source software and to report vulnerabilities.\n\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2025 [reelyActive](https://www.reelyactive.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, \nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN \nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Frecord-silo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freelyactive%2Frecord-silo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Frecord-silo/lists"}