{"id":20028868,"url":"https://github.com/phase2/cms_api","last_synced_at":"2026-05-13T06:03:06.876Z","repository":{"id":2970889,"uuid":"3986004","full_name":"phase2/cms_api","owner":"phase2","description":null,"archived":false,"fork":false,"pushed_at":"2012-04-10T19:13:49.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-12T17:36:34.270Z","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/phase2.png","metadata":{"files":{"readme":"README.txt","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-04-10T19:09:36.000Z","updated_at":"2017-08-22T22:39:32.000Z","dependencies_parsed_at":"2022-09-15T19:41:12.983Z","dependency_job_id":null,"html_url":"https://github.com/phase2/cms_api","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/phase2%2Fcms_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fcms_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fcms_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fcms_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phase2","download_url":"https://codeload.github.com/phase2/cms_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460177,"owners_count":19966519,"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-13T09:16:53.829Z","updated_at":"2026-05-13T06:03:06.786Z","avatar_url":"https://github.com/phase2.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"The CMS API module provides a very simple JSON API into drupal.  This was used to pull in parts of drupal into another site.\n\nReturn JSON format:\n\n{\n  'status': TRUE/FALSE\n  'data': {} Data from endpoint\n  'css': '' CSS that is included in the html page @see drupal_get_css()\n  'js': ''  JS that is included in the html page @see drupal_get_js()\n  'css_array': {} The CSS render array.  @see drupal_add_css()\n  'js_array': {} The JS render array. @see drupal_add_js()\n}\n\nCurrent endpoints:\n\ncms-api/block\n- A list of blocks\n\ncms-api/block/\u003cmodule\u003e/\u003cdelta\u003e\n- The Block html\n\ncms-api/region\n- A list of regions\n\ncms-api/region/\u003cregion name\u003e\n- The HTML for the region\n\ncms-api/section/\u003csection_name\u003e\n- The HTML for the \u003cdiv\u003e from the sites home page\n- For example, getting the header region since lots of this is hard coded in page.tpl.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphase2%2Fcms_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphase2%2Fcms_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphase2%2Fcms_api/lists"}