{"id":18510091,"url":"https://github.com/gitana/cloudcms-csharp-driver","last_synced_at":"2026-02-08T12:01:51.072Z","repository":{"id":145564782,"uuid":"166245748","full_name":"gitana/cloudcms-csharp-driver","owner":"gitana","description":"Cloud CMS C# Driver","archived":false,"fork":false,"pushed_at":"2025-01-23T02:44:11.000Z","size":190,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-26T02:33:06.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitana.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitana.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":"2019-01-17T15:11:48.000Z","updated_at":"2025-01-23T02:44:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"9806c6d4-bfcc-4ef5-b111-8338edf38b63","html_url":"https://github.com/gitana/cloudcms-csharp-driver","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/gitana/cloudcms-csharp-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitana%2Fcloudcms-csharp-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitana%2Fcloudcms-csharp-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitana%2Fcloudcms-csharp-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitana%2Fcloudcms-csharp-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitana","download_url":"https://codeload.github.com/gitana/cloudcms-csharp-driver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitana%2Fcloudcms-csharp-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29229359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"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-06T15:20:50.243Z","updated_at":"2026-02-08T12:01:51.026Z","avatar_url":"https://github.com/gitana.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud CMS C# Driver\n\nThe [Cloud CMS](https://gitana.io) C# driver is a .NET core client library to facilitate connections to Cloud CMS. The driver handles OAuth authentication and token management, HTTPS calls, and provides convenient methods to perform operations. It works against Cloud CMS instances on our SaaS platform as well as on-premise installations.\n\n## Installation\n\nCommand Line:\n\n````\ndotnet add package cloudcms\n````\n\nVisual Studio:\n\n````\nInstall-Package cloudcms\n````\n\n## Connecting to Cloud CMS\n\nTo connect to Cloud CMS, use the static `CloudCMSDriver.ConnectAsync` method. This takes either a file path to a `gitana.json` file, a JObject json object, dictionary, or ConnectionObject.\n\nThe required API key properties for this are:\n\n- `clientKey`\n- `clientSecret`\n- `username`\n- `password`\n- `baseURL`\n\nConnection examples:\n\n````csharp\nstring path = \"gitana.json\";\nIPlatform platform1 = await CloudCMSDriver.ConnectAsync(path);\n\nJObject configObj = ...;\nIPlatform platform2 = await CloudCMSDriver.ConnectAsync(configObj);\n\nIDictionary\u003cstring, string\u003e configDict = ...;\nIPlatform platform3 = await CloudCMSDriver.ConnectAsync(configDict);\n\nConnectionConfig config = ...;\nIPlatform platform4 = await CloudCMSDriver.ConnectAsync(config);\n````\n\n## Examples\n\nBelow are some examples of how you might use this driver:\n\n````csharp\n// Connect to Cloud CMS\nstring path = \"gitana.json\";\nIPlatform platform = await CloudCMSDriver.ConnectAsync(path);\n\n// Read repository\nIRepository repository = await platform.ReadRepositoryAsync(\"\u003crepositoryId\u003e\");\n\n// Read branch\nIBranch branch = await repository.ReadBranchAsync(\"\u003cbranchId\u003e\");\n\n// Read node\nINode node = await branch.ReadNodeAsync(\"\u003cnodeID\u003e\");\n\n// Update node\nnode.Data[\"title\"] = \"A new title\";\nawait node.UpdateAsync();\n\n// Delete node\nawait node.DeleteAsync();\n\n// Create node\nJObject obj = new JObject(\n    new JProperty(\"title\", \"Twelfth Night\"),\n    new JProperty(\"description\", \"An old play\")\n);\nINode newNode = await branch.CreateNodeAsync(obj);\n\n// Query nodes\nJObject query = new JObject(\n    new JProperty(\"_type\", \"store:book\")\n);\nJObject pagination = new JObject(\n    new JProperty(\"limit\", 2)\n);\nList\u003cINode\u003e queryNodes = await branch.QueryNodesAsync(query, pagination);\n\n// Search/Find nodes\nJObject find = new JObject(\n    new JProperty(\"search\", \"Shakespeare\"),\n    new JProperty(\"query\",\n        new JObject(\n            new JProperty(\"_type\", \"store:book\")\n        )\n    )\n);\nList\u003cINode\u003e findNodes = await branch.FindNodesAsync(find, pagination);\n````\n\n## Tests\nTo run the tests for this driver, ensure you have your `gitana.json` file in the driver directory, then run:\n\n````\ndotnet test\n````\n\n## Resources\n\n* Cloud CMS: https://www.cloudcms.com\n* Github: http://github.com/gitana/cloudcms-csharp-driver\n* C# Driver Download: https://www.nuget.org/packages/cloudcms\n* Cloud CMS Documentation: https://www.cloudcms.com/documentation.html\n* Developers Guide: https://www.cloudcms.com/developers.html\n\n## Support\n\nFor information or questions about the C# Driver, please contact Cloud CMS\nat [support@cloudcms.com](mailto:support@cloudcms.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitana%2Fcloudcms-csharp-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitana%2Fcloudcms-csharp-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitana%2Fcloudcms-csharp-driver/lists"}