{"id":18498499,"url":"https://github.com/zircote/zfapiversioning","last_synced_at":"2025-07-30T01:12:00.155Z","repository":{"id":2406508,"uuid":"3374006","full_name":"zircote/ZfApiVersioning","owner":"zircote","description":"An example of API versioning with zend framework version 1 modules","archived":false,"fork":false,"pushed_at":"2012-02-23T03:34:59.000Z","size":157,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T05:26:55.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/zircote.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":"2012-02-07T03:29:55.000Z","updated_at":"2021-10-24T22:39:32.000Z","dependencies_parsed_at":"2022-09-11T16:33:05.580Z","dependency_job_id":null,"html_url":"https://github.com/zircote/ZfApiVersioning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zircote/ZfApiVersioning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2FZfApiVersioning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2FZfApiVersioning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2FZfApiVersioning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2FZfApiVersioning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zircote","download_url":"https://codeload.github.com/zircote/ZfApiVersioning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2FZfApiVersioning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267791123,"owners_count":24144895,"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-07-29T02:00:12.549Z","response_time":2574,"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-11-06T13:40:49.534Z","updated_at":"2025-07-30T01:12:00.088Z","avatar_url":"https://github.com/zircote.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docs and Info coming soon...\n\nThis is very much a work in progress and proof of concept exploration. It is \npossible it will die on the vine or be transformed to a production \nimplementation based on my findings.\n\n### Todo\n * Add a pagination Action Helper\n    * Response control for pagination: `Range: items=0-24`\n    * Request control for pagination:  `Content-Range: items 0-24/66`\n * Add a header Action Helper\n * Add a sorting Action Helper\n    * `/FooObject/?foo=value1\u0026sortBy=+foo,-bar`\n    * `/FooObject/?foo=value1\u0026sort(+foo,-bar)`\n * Add an oauth/authentication plugins\n\n### Scheme\n_Define reserved words_:\n\n * `/{$resource}?q=search+something` || `/{$resource}?search=search+something`\n * `/{$resource}?fields=id,firstName,lastName,email`\n * `/{$resource}/count` returns record count for the resource\n * `/{$resource}?method=post|put|delete`\n * `/{$resource}?start=#\u0026count=#` || `/{$resource}?page=#\u0026count=#` || `/{$resource}?limit=#\u0026offset=#`\n\n_Other Items under consideration_:\n\n * `/{$resource}.json` || `Accept: application/json` || `/{$resource}?format=json`\n * Configurable defaults via `Zircote_Application_Resource_Restendpoint`\n   * limits\n   * count\n   * type\n * `/{$resource}?suppress_response_codes=true`\n   * `200 OK` =\u003e however retain true error code in the error doc.\n * _Response Header_: `Allow: GET, POST, PUT, DELETE`\n * _Response Header_: `Accept: application/json, applicaiton/xml`\n * _Response Header_: `Content-Type: application/json; charset=UTF8`\n * _Response Header_: `Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT` =\u003e Updated field of record\n * _Response Header_: `Range: 21010-47021/47022`\n   * The presence of a Range header in an unconditional GET modifies what is returned if the GET is otherwise successful. In other words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).\n * Implement a JSON Referencing action helper.\n    * http://www.sitepen.com/blog/2008/06/17/json-referencing-in-dojo/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzircote%2Fzfapiversioning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzircote%2Fzfapiversioning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzircote%2Fzfapiversioning/lists"}