{"id":21851904,"url":"https://github.com/ulbora/ulboracontentservice","last_synced_at":"2026-04-09T20:11:22.792Z","repository":{"id":87394613,"uuid":"72300546","full_name":"Ulbora/UlboraContentService","owner":"Ulbora","description":"Ulbora Headless CMS","archived":false,"fork":false,"pushed_at":"2018-08-25T22:40:54.000Z","size":10908,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T18:32:54.075Z","etag":null,"topics":["headless-cms","microservice"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ulbora.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}},"created_at":"2016-10-29T17:52:57.000Z","updated_at":"2020-05-14T14:06:31.000Z","dependencies_parsed_at":"2023-05-07T11:30:51.980Z","dependency_job_id":null,"html_url":"https://github.com/Ulbora/UlboraContentService","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ulbora/UlboraContentService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraContentService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraContentService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraContentService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraContentService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulbora","download_url":"https://codeload.github.com/Ulbora/UlboraContentService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraContentService/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266963383,"owners_count":24013039,"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-25T02:00:09.625Z","response_time":70,"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":["headless-cms","microservice"],"created_at":"2024-11-28T01:12:15.242Z","updated_at":"2026-04-09T20:11:22.757Z","avatar_url":"https://github.com/Ulbora.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/Ulbora/UlboraContentService)](https://goreportcard.com/report/github.com/Ulbora/UlboraContentService)\n\nUlbora Headless CMS\n==============\n\n## [Free Account](http://www.register.myapigateway.com/?ulboraCms=true)\n\nUlbora Headless CMS is a CMS that can provide content that can be used anywhere. \n\n\n## Headers\n- Content-Type: application/json (for POST and PUT)\n- Authorization: Bearer aToken (POST, PUT, and DELETE. No token required for get services.)\n- clientId: clientId (example 33477)\n\n\n\n## Add Content\n\n```\nPOST:\nURL: http://localhost:3008/rs/content/add\n\nExample Request\n{\n   \"title\":\"new title for insert\",\n   \"category\": \"books\",\n   \"text\":\"some text\",\n   \"hits\": 100,\n   \"metaAuthorName\": \"ken\",\n   \"metaDesc\": \"ken\",\n   \"metaKeyWords\": \"ulbora, content, microservice\",\n   \"metaRobotKeyWords\": \"ulbora, content, microservice\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n    \"success\": true,\n    \"id\": 19\n}\n\n```\n\n\n## Update Content\n\n```\nPUT:\nURL: http://localhost:3008/rs/content/update\n\nExample Request\n{\n   \"id\": 11,\n   \"title\":\"new title for insert for ken with oauth again\",\n   \"category\": \"Books\",\n   \"text\":\"some text\",\n   \"hits\": 100,\n   \"metaAuthorName\": \"ken\",\n   \"metaDesc\": \"ken\",\n   \"metaKeyWords\": \"ulbora, content, microservice\",\n   \"metaRobotKeyWords\": \"ulbora, content, microservice\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n    \"success\": true,\n    \"id\": 11\n}\n\n```\n\n\n\n## Update Content Hits\n\n```\nPUT:\nURL: http://localhost:3008/rs/content/hits\n\nExample Request\n{\n   \"id\": 11,  \n   \"hits\": 101\n}\n  \n```\n\n```\nExample Response   \n\n{\n    \"success\": true,\n    \"id\": 11\n}\n\n```\n\n\n\n## Get Content\n\n```\nGET:\nURL: http://localhost:3008/rs/content/get/11/403\n  \n```\n\n```\nExample Response   \n\n{\n    \"id\": 11,\n    \"title\": \"new title for insert for ken with oauth again\",\n    \"category\": \"Guns\",\n    \"createDate\": \"2017-08-15T01:09:36Z\",\n    \"modifiedDate\": \"2017-08-15T01:13:55Z\",\n    \"hits\": 100,\n    \"metaAuthorName\": \"ken\",\n    \"metaDesc\": \"ken\",\n    \"metaKeyWords\": \"ulbora, content, microservice\",\n    \"metaRobotKeyWords\": \"ulbora, content, microservice\",\n    \"text\": \"some text\",\n    \"clientId\": 403\n}\n\n```\n\n\n## Get Content By Client\n\n```\nGET:\nURL: http://localhost:3008/rs/content/list/403\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"id\": 11,\n        \"title\": \"new title for insert for ken with oauth again\",\n        \"category\": \"Guns\",\n        \"createDate\": \"2017-08-15T01:09:36Z\",\n        \"modifiedDate\": \"2017-08-15T01:13:55Z\",\n        \"hits\": 100,\n        \"metaAuthorName\": \"ken\",\n        \"metaDesc\": \"ken\",\n        \"metaKeyWords\": \"ulbora, content, microservice\",\n        \"metaRobotKeyWords\": \"ulbora, content, microservice\",\n        \"text\": \"some text\",\n        \"clientId\": 403\n    },\n    {\n        \"id\": 14,\n        \"title\": \"new title for insert\",\n        \"category\": \"books\",\n        \"createDate\": \"2017-08-15T01:23:45Z\",\n        \"modifiedDate\": \"0001-01-01T00:00:00Z\",\n        \"hits\": 100,\n        \"metaAuthorName\": \"ken\",\n        \"metaDesc\": \"ken\",\n        \"metaKeyWords\": \"ulbora, content, microservice\",\n        \"metaRobotKeyWords\": \"ulbora, content, microservice\",\n        \"text\": \"some text\",\n        \"clientId\": 403\n    }\n]\n\n```\n\n\n## Delete Content\n\n```\nDELETE:\nURL: http://localhost:3008/rs/content/delete/14\n  \n```\n\n```\nExample Response   \n\n{\n    \"success\": true,\n    \"id\": 15\n}\n\n```\n# Docker usage\n```\ndocker run --network=ulbora_bridge --name content --log-opt max-size=50m --env DATABASE_HOST=someHost /\n --env DATABASE_USER_NAME=someUser --env DATABASE_USER_PASSWORD=somePw --env DATABASE_NAME=ulbora_content_service /\n --env DATABASE_POOL_SIZE=5 --env OAUTH2_VALIDATION_URI=http://oauth2:8080/rs/token/validate /\n --env --restart=always -d ulboralabs/content sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulboracontentservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulbora%2Fulboracontentservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulboracontentservice/lists"}