{"id":41200882,"url":"https://github.com/rootlyhq/rootly-java","last_synced_at":"2026-01-22T21:10:27.781Z","repository":{"id":333733924,"uuid":"988397502","full_name":"rootlyhq/rootly-java","owner":"rootlyhq","description":"Official Rootly Java SDK for incident management API","archived":false,"fork":false,"pushed_at":"2026-01-20T19:15:31.000Z","size":5270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T03:55:07.639Z","etag":null,"topics":["api","incident-management","incident-response","java","maven","openapi","rest-api","rootly","sdk"],"latest_commit_sha":null,"homepage":"https://rootly.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootlyhq.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-22T13:41:47.000Z","updated_at":"2026-01-20T19:25:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rootlyhq/rootly-java","commit_stats":null,"previous_names":["rootlyhq/rootly-java"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rootlyhq/rootly-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootlyhq%2Frootly-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootlyhq%2Frootly-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootlyhq%2Frootly-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootlyhq%2Frootly-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootlyhq","download_url":"https://codeload.github.com/rootlyhq/rootly-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootlyhq%2Frootly-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28671433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","incident-management","incident-response","java","maven","openapi","rest-api","rootly","sdk"],"created_at":"2026-01-22T21:10:26.892Z","updated_at":"2026-01-22T21:10:27.775Z","avatar_url":"https://github.com/rootlyhq.png","language":"Java","readme":"# rootly-java\n\nJava client library for Rootly incident management platform, auto-generated from OpenAPI specifications.\n\n## Installation\n\n### Maven\n\nAdd this dependency to your project's POM:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.rootly.client\u003c/groupId\u003e\n  \u003cartifactId\u003erootly\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\nAdd this dependency to your project's build file:\n\n```groovy\ndependencies {\n    implementation 'com.rootly.client:rootly:0.0.4'\n}\n```\n\n### Local Installation\n\nTo install the API client library to your local Maven repository:\n\n```bash\n./gradlew publishToMavenLocal\n# or\nmvn clean install\n```\n\n## Usage\n\n```java\nimport com.rootly.client.ApiClient;\nimport com.rootly.client.Configuration;\nimport com.rootly.client.auth.HttpBearerAuth;\nimport com.rootly.client.api.IncidentsApi;\nimport com.rootly.client.model.IncidentList;\n\npublic class Example {\n    public static void main(String[] args) {\n        // Create and configure the API client\n        ApiClient client = Configuration.getDefaultApiClient();\n        client.setBasePath(\"https://api.rootly.com\");\n\n        // Configure authentication\n        HttpBearerAuth bearerAuth = (HttpBearerAuth) client.getAuthentication(\"bearer_auth\");\n        bearerAuth.setBearerToken(\"YOUR_API_TOKEN\");\n\n        // Use the client to make API calls\n        IncidentsApi incidentsApi = new IncidentsApi(client);\n        try {\n            IncidentList incidents = incidentsApi.listIncidents(null, null, null);\n            System.out.println(incidents);\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n    }\n}\n```\n\n## Getting Your API Key\n\n1. Navigate to **Organization dropdown** \u003e **Organization Settings** \u003e **API Keys**\n2. Generate a new API key\n3. Use the token in your client configuration\n\n## Development\n\n### Prerequisites\n\n- Java 1.8 or later\n- Maven 3.8.3+ or Gradle 7.2+\n- [OpenAPI Generator](https://openapi-generator.tech) 7.13.0\n\n### Generating the Code\n\nThe SDK is auto-generated from the Rootly OpenAPI specification:\n\n```bash\n# Fetch latest spec and regenerate code\nmake build\n```\n\nThis will:\n1. Fetch the OpenAPI spec from Rootly's S3 bucket\n2. Generate Java code using OpenAPI Generator\n3. Apply necessary patches\n\n### Building and Testing\n\n- **Build**: `./gradlew build` or `mvn clean package`\n- **Test**: `./gradlew test` or `mvn test`\n- **Format code**: `./gradlew spotlessApply` or `mvn spotless:apply`\n\n## API Features\n\n### JSON:API Specification\n\nRootly uses the [JSON:API](https://jsonapi.org) specification:\n- Content-Type: `application/vnd.api+json`\n- Structured responses with `data`, `attributes`, and `relationships`\n- Standardized error handling\n\n### Rate Limiting\n\n- **3000 requests per 60-second sliding window** (per API key)\n- Response headers include:\n  - `RateLimit-Limit`: Maximum requests allowed\n  - `RateLimit-Remaining`: Remaining requests in current window\n  - `RateLimit-Reset`: UTC epoch seconds when window resets\n\nContact your Rootly Customer Success Manager to adjust limits.\n\n### Pagination\n\nUse `page[number]` and `page[size]` query parameters:\n\n```java\n// Example: Fetch page 2 with 25 items per page\nIncidentList incidents = incidentsApi.listIncidents(\n    25,      // page[size]\n    2,       // page[number]\n    null     // additional filters\n);\n```\n\n## Generated Code Structure\n\n- **API Classes** (`com.rootly.client.api.*`): Client implementations for all API endpoints\n- **Model Classes** (`com.rootly.client.model.*`): Data transfer objects for requests/responses\n- **Core Client** (`com.rootly.client.ApiClient`): HTTP client with authentication support\n- **Authentication** (`com.rootly.client.auth.*`): Bearer token, API key, and basic auth implementations\n\n## Contributing\n\nThis library is auto-generated from OpenAPI specifications. For API changes or issues:\n- Report bugs or request features in this repository\n- API specification changes should be directed to Rootly\n\n---\n\n*Automatically generated by [OpenAPI Generator](https://openapi-generator.tech)*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootlyhq%2Frootly-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootlyhq%2Frootly-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootlyhq%2Frootly-java/lists"}