{"id":20718654,"url":"https://github.com/os2web/os2web_rest_api","last_synced_at":"2026-04-24T14:05:45.637Z","repository":{"id":43275486,"uuid":"399457924","full_name":"OS2web/os2web_rest_api","owner":"OS2web","description":"Provides REST API for OS2Web content","archived":false,"fork":false,"pushed_at":"2023-11-24T14:03:48.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-25T11:22:04.651Z","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/OS2web.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-08-24T12:32:32.000Z","updated_at":"2024-06-10T08:37:12.308Z","dependencies_parsed_at":"2024-06-10T08:37:11.423Z","dependency_job_id":"59d0714d-06d3-46ed-a67c-010b7f9240b2","html_url":"https://github.com/OS2web/os2web_rest_api","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2web%2Fos2web_rest_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2web%2Fos2web_rest_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2web%2Fos2web_rest_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2web%2Fos2web_rest_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OS2web","download_url":"https://codeload.github.com/OS2web/os2web_rest_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242995877,"owners_count":20218814,"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-17T03:14:23.867Z","updated_at":"2026-04-24T14:05:45.558Z","avatar_url":"https://github.com/OS2web.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS2Web REST API module\n\n## Module purpose\n\nThe module purpose is to provide URL's for fetching data via REST API.\n\n## How does it work\n\nAfter enabling module there is available URL's that could be used as REST API.\n\nMost of them are coming from [RESTful Web Services module](https://www.drupal.org/docs/8/core/modules/rest/overview) \nthat is included in Drupal core.\n\nModule provides preconfigured REST sources and Views for fetching lists nodes\nand terms in JSON-format\n* /node/[node id]?_format=json - particular node\n* /rest/os2web/list/node/[taxonomy term id] - list of nodes filtered by \n[taxonomy term id]\n* /rest/os2web/list/term - list of all taxonomy terms\n* /rest/os2web/list/term/[vocabulary machine name] - list of taxonomy terms by vocabulary machine name\n\nFor advanced filtering you can use multiple arguments. For example:\n```\n/rest/os2web/list/node/1+2+3\n```\nfor `AND` condition\n```\n/rest/os2web/list/node/1,2,3\n```\nfor `OR` condition\n\n**NOTE**: It's not possible to use `AND` condition on filtering taxonomy terms.\n\n## Install\nModule is available to download via composer.\n```\ncomposer require os2web/os2web_rest_api\ndrush en os2web_rest_api\n```\n\n## Update\nUpdating process for OS2Web REST API module is similar to usual composer package.\nUse Composer's built-in command for listing packages that have updates available:\n\n```\ncomposer outdated os2web/os2web_rest_api\n```\n\n## Contribution\n\nProject is opened for new features and os course bugfixes.\nIf you have any suggestion or you found a bug in project, you are very welcome\nto create an issue in github repository issue tracker.\nFor issue description there is expected that you will provide clear and\nsufficient information about your feature request or bug report.\n\n### Code review policy\nSee [OS2Web code review policy](https://github.com/OS2Web/docs#code-review)\n\n### Git name convention\nSee [OS2Web git name convention](https://github.com/OS2Web/docs#git-guideline)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fos2web%2Fos2web_rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fos2web%2Fos2web_rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fos2web%2Fos2web_rest_api/lists"}