{"id":21198564,"url":"https://github.com/natlibfi/onkilegacy","last_synced_at":"2026-01-25T22:50:48.374Z","repository":{"id":17913310,"uuid":"20875928","full_name":"NatLibFi/ONKILegacy","owner":"NatLibFi","description":"ONKI Legacy API support using Skosmos REST API","archived":false,"fork":false,"pushed_at":"2024-11-06T14:04:01.000Z","size":1085,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-10T10:46:36.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NatLibFi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2014-06-16T07:13:00.000Z","updated_at":"2024-11-06T14:04:05.000Z","dependencies_parsed_at":"2024-11-06T15:19:04.039Z","dependency_job_id":"34583530-8538-4df7-89c7-c09da9da4197","html_url":"https://github.com/NatLibFi/ONKILegacy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NatLibFi/ONKILegacy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FONKILegacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FONKILegacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FONKILegacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FONKILegacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NatLibFi","download_url":"https://codeload.github.com/NatLibFi/ONKILegacy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FONKILegacy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28760646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T20:56:06.009Z","status":"ssl_error","status_checked_at":"2026-01-25T20:54:48.203Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-20T19:52:20.028Z","updated_at":"2026-01-25T22:50:48.358Z","avatar_url":"https://github.com/NatLibFi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ONKILegacy\n==========\n\nONKI Legacy API support using Skosmos REST API\n\n## Installing\n```\napt install php7.2-soap\ncd soap\nphp composer.phar self-update\nphp composer.phar install\n```\nRunning tests:\n```\npip3 install suds-py3\n```\n\nAdditionally the following (partial) virtual host configuration may be of use:\n```\n# map /rest to REST API calls\nRewriteEngine On\nRewriteRule ^/rest/v1/(.*) /var/www/$SKOSMOS_PATH/rest.php/$1\n\n# Rule for HTTP method calls\nRewriteRule ^/key-.*/api/v2/http/(.*) /http/http.php/$1?rest_base=$SKOSMOS_API_URL/rest/v1/ [QSA]\n\n# Rule for SOAP method calls\nRewriteRule ^/key-.*/api/v1/soap/(.*) /soap/soap.php?vocid=$1\u0026rest_base=$SKOSMOS_API_URL/rest/v1/\n\n# Rule for WSDL file requests (note: query string parameters are preserved)\nRewriteRule ^/api/v1/soap/wsdl/$ /soap/onki-wsdl.php?h=$LEGACY_URL [QSA]\n\n# allow caching of static resources for one day\n\u003cFilesMatch \"(Onki|Create|Concept|Generate|engine).*\\.js\"\u003e\n    ExpiresActive On\n    ExpiresDefault \"access plus 1 day\"\n\u003c/FilesMatch\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Fonkilegacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatlibfi%2Fonkilegacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Fonkilegacy/lists"}