{"id":18818466,"url":"https://github.com/smithsonian/sianctapi","last_synced_at":"2025-04-13T23:32:41.496Z","repository":{"id":80130781,"uuid":"28885182","full_name":"Smithsonian/sianctapi","owner":"Smithsonian","description":"Implementation of a camera trap research information service","archived":false,"fork":false,"pushed_at":"2022-12-15T22:54:12.000Z","size":1493,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-03-27T13:45:39.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Smithsonian.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2015-01-06T21:48:48.000Z","updated_at":"2022-12-15T22:51:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c355536c-7b79-46bb-9cfe-568ccec266ce","html_url":"https://github.com/Smithsonian/sianctapi","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/Smithsonian%2Fsianctapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smithsonian%2Fsianctapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smithsonian%2Fsianctapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smithsonian%2Fsianctapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smithsonian","download_url":"https://codeload.github.com/Smithsonian/sianctapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248796787,"owners_count":21163033,"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":[],"created_at":"2024-11-08T00:16:52.353Z","updated_at":"2025-04-13T23:32:41.467Z","avatar_url":"https://github.com/Smithsonian.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"SIANCT API\n==========\n\nPlease note that this API is under heavy development and things in this repo are subject to a lot of change.\n\nThe API needs two .config files to run properly. If these are no present things may still work, but will likely return empty results. This behavior may change in the future.\n\n\napi.config defines variables per library served. At this time this was created these were the following configurables per library:\n\n{\n  \"SIANCTAPI\": {\n    \"sianctapi_block_fedora\": \"http://127.0.0.1:8080/fedora\",\n    \"sianctapi_block_fedora_userpass\": \"sianctapiuseroffedora:sianctapiuseroffedorapassword\",\n    \"sianctapi_block_gsearch\": \"http://127.0.0.1:8080/fedoragsearch/rest\",\n    \"sianctapi_block_solr\": \"http://127.0.0.1:8080/solr\",\n    \"sianctapi_block_solr_max\": \"1000\",\n    \"sianctapi_block_solr_xslt_tree\": \"sianctapiProjectStructureToHtml.xslt\",\n    \"sianctapi_block_solr_xslt_filtered\": \"sianctapiObstablesToHtml.xslt\",\n    \"sianctapi_path\": \"\"\n  },\n  \"SIANCT\": {\n    \"sianct_block_solr\": \"noSolrUrl\",\n    \"sianct_block_solr_max\": \"1000\",\n    \"sianct_block_solr_xslt_tree\": \"none\",\n    \"sianct_block_fedora\": \"nofedoraurl\",\n    \"sianct_block_fedora_userpass\": \"nofedorauser:password\",\n    \"sianct_block_solr_xslt_filtered\": \"\"\n  },\n  \"SIANCTDEMO\": {\n    \"sianctdemo_block_sianct\": \"noSianisUrl\",\n    \"sianctdemo_block_sianct_userpass\": \"noSianisdemoUserOfSianis:Pass\",\n    \"sianctdemo_path\": \"\"\n  },\n  \"GFLOW\": {\n    \"gflow_block_workflow_server\": \"\",\n    \"gflow_block_workflow_userpass\": \"\",\n    \"gflow_block_workflow_mimetype\": \"\",\n    \"gflow_block_fedora\": \"\",\n    \"gflow_path\": \"\"\n  }\n}\n\nYou only need SIANCTAPI (as of 2014-07) in your api.config.\n\nSecondly you'll need keys.config:\n\n{\n  \"APP_ID\": \"A Random Key\"\n}\n\nThis is a key/value pair where the key is the unique API assigned to each user and the value is a randomly generated shared secret used to sign and validate requests.\n\nSo in short you need two file: api.config and keys.config.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithsonian%2Fsianctapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmithsonian%2Fsianctapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithsonian%2Fsianctapi/lists"}