{"id":16563091,"url":"https://github.com/markmhendrickson/asheville-io-deprecated","last_synced_at":"2025-10-09T06:55:24.804Z","repository":{"id":11984654,"uuid":"14559838","full_name":"markmhendrickson/asheville-io-deprecated","owner":"markmhendrickson","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-19T17:27:36.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T05:43:14.882Z","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/markmhendrickson.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}},"created_at":"2013-11-20T15:11:17.000Z","updated_at":"2014-04-11T21:31:15.000Z","dependencies_parsed_at":"2022-09-01T14:51:25.893Z","dependency_job_id":null,"html_url":"https://github.com/markmhendrickson/asheville-io-deprecated","commit_stats":null,"previous_names":["markmhendrickson/asheville-io-deprecated"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markmhendrickson/asheville-io-deprecated","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmhendrickson%2Fasheville-io-deprecated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmhendrickson%2Fasheville-io-deprecated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmhendrickson%2Fasheville-io-deprecated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmhendrickson%2Fasheville-io-deprecated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markmhendrickson","download_url":"https://codeload.github.com/markmhendrickson/asheville-io-deprecated/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmhendrickson%2Fasheville-io-deprecated/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000864,"owners_count":26082951,"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-10-09T02:00:07.460Z","response_time":59,"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-10-11T20:38:41.445Z","updated_at":"2025-10-09T06:55:24.786Z","avatar_url":"https://github.com/markmhendrickson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## asheville.io\n\nThis is an [Asheville](https://github.com/asheville) external service\nfor powering the Asheville Dashboard.\n\nIt contains both the frontend JavaScript application as well as the\nAPI for said application.\n\nThe Asheville dashboard is the main interaction point for a user and Asheville,\nand provides them access to settings, sync status and authentication configuration\n(including OAuth flows) for various [storages](https://github.com/asheville/spec/blob/master/storage.md)\nand [sources](https://github.com/asheville/spec/blob/master/sources.md).\n\nThis API exposes a JSON API intended for the dashboard JavaScript application.\n\nIt talks to various other Asheville services to populate data and modify\ninformation, such as the [accounts](https://github.com/asheville/accounts)\nAPI.\n\n## Hacking on asheville-io\n\nDownload and install [Vagrant](http://vagrantup.com)\nand [VirtualBox](https://www.virtualbox.org/)\n\n    $ vagrant up\n    ...\n    $ vagrant ssh\n    ...\n    $ cd /vagrant\n    $ make deps\n    ...\n\nRunning the webserver:\n\n    $ make run\n    ...\n\nRunning tests:\n\n    $ make test\n    ...\n\nCreating the initial database:\n\n    $ make bootstrap\n    ...\n\n## API\n\n### Table of Contents\n\n- [Storages](#storages) contains methods for accessing and configuring\na \"storage\" for a user.\n- [Sources](#storages) contains methods for accessing and configuring\na \"source\" for a user.\n- [Session](#session) contains authentication endpoints for the application,\nas well as details for a specific user.\n- [Storage Surveys](#storage-surveys) contains authentication endpoints for the application\n\nThis is documentation for an early API. It is very much a work-in-progress\nand may change or break at any time.\n\n### Storages\n\nA storage is a connected service that is used to store\ndata collected from sources.\n\n#### Retrieve all storages\n\n**URL**: `/v1/storages`\n\n**METHOD**: `GET`\n\n##### Example\n\n`GET /v1/storages`\n\n```json\n{\n    \"storages\": [{\n        \"id\": \"6f447ed6-15b5-4e3b-b301-ddc0d07f409b\",\n        \"type\": \"dropbox\",\n        \"name\": \"Dropbox\",\n        \"connected\": true,\n        \"sizes\": {\n            \"total\": 5000000000,\n            \"available\": 2000000000,\n            \"occupied\": 1250000000,\n            \"other\": 1750000000\n        },\n        \"last_completed_sync\": null\n    }]\n}\n```\n\n### Sources\n\nA source is a connected service that is used to pull in information,\nsuch as Facebook or Twitter.\n\n#### Retrieve all sources\n\n**URL**: `/v1/sources`\n\n**METHOD**: `GET`\n\n##### Example\n\n`GET /v1/sources`\n\n```json\n{\n    \"sources\": [{\n        \"id\": \"6f447ed6-15b5-4e3b-b301-ddc0d07f409b\",\n        \"type\": \"facebook\",\n        \"name\": \"Facebook\",\n        \"connected\": true,\n        \"sizes\": {\n            \"total\": 5000000000,\n            \"available\": 2000000000,\n            \"occupied\": 1250000000,\n            \"other\": 1750000000\n        },\n        \"total_items_synced\": null,\n        \"total_items_available\": null,\n        \"last_completed_sync\": null,\n        \"content_types\": {\n            {\n                \"id\": \"6f447ed6-15b5-4e3b-b301-ddc0d07f409b\",\n                \"name\": \"Photos\",\n                \"enabled\": true\n            }\n        },\n    }\n    }]\n}\n```\n\n### Session\n\nExposes authentication and user information.\n\n#### Retrieve Session\n\nReturns a users current session\n\n**URL**: `/v1/session`\n\n**METHOD**: `GET`\n\n##### Example\n\n`GET /v1/session`\n\nReturns:\n\n```json\n{\n    \"email\": \"example@example.org\",\n    \"name\": \"Saul Goodman\",\n    \"id\": \"6f447ed6-15b5-4e3b-b301-ddc0d07f409b\"\n}\n```\n\n### Storage Survey\n\nRecieves a survey result for what storages people want.\n\n#### Recieve Survey\n\n**URL**: `/v1/storage_survey`\n\n**METHOD**: `POST`\n\n##### Example\n\n`POST /v1/storage_survey`\n\nReturns:\n\n```json\n{\n    \"success\": true,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmhendrickson%2Fasheville-io-deprecated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkmhendrickson%2Fasheville-io-deprecated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmhendrickson%2Fasheville-io-deprecated/lists"}