{"id":37167412,"url":"https://github.com/segmentio/opslevel-go","last_synced_at":"2026-01-14T19:48:51.747Z","repository":{"id":53589668,"uuid":"268903879","full_name":"segmentio/opslevel-go","owner":"segmentio","description":"A Go client for the OpsLevel Integrations API","archived":true,"fork":false,"pushed_at":"2021-03-22T20:08:03.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T05:35:25.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/segmentio.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}},"created_at":"2020-06-02T20:40:57.000Z","updated_at":"2023-03-23T16:04:24.000Z","dependencies_parsed_at":"2022-09-11T09:10:19.832Z","dependency_job_id":null,"html_url":"https://github.com/segmentio/opslevel-go","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/segmentio/opslevel-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fopslevel-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fopslevel-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fopslevel-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fopslevel-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/opslevel-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fopslevel-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-14T19:48:51.134Z","updated_at":"2026-01-14T19:48:51.740Z","avatar_url":"https://github.com/segmentio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opslevel-go [![CircleCI](https://circleci.com/gh/segmentio/opslevel-go.svg?style=shield)](https://circleci.com/gh/segmentio/opslevel-go) [![Go Report Card](https://goreportcard.com/badge/github.com/segmentio/opslevel-go)](https://goreportcard.com/report/github.com/segmentio/opslevel-go) [![GoDoc](https://godoc.org/github.com/segmentio/opslevel-go?status.svg)](https://godoc.org/github.com/segmentio/opslevel-go)\n\n`opslevel-go` is a client library for the [OpsLevel](https://www.opslevel.com/) integrations API\n\nTo get started create a new client:\n\n```\nclient := opslevel.NewClient()\n```\n\n## Deploys Integration\n\nThe Deploys Integration requires the following fields:\n\n```\ndeployRequest := opslevel.DeployRequest{\n    Service:     \"my_service\",\n    Description: \"my_service was deployed\",\n    Deployer: rest.Deployer{\n        Email: \"deployer@myapp.com\",\n    },\n    Environment: \"env\",\n    DeployedAt:  time.Now(),\n}\nerr := client.Deploy(deployRequest, \"my-integration-uuid\")\n```\n\nFor a full list fields, see the docs.\n\n## Checks Integration\n\nThe Deploys Integration requires the following fields:\n\n```\ncheckRequest := CheckRequest{\n    Service: \"my_service\",\n    Check:   \"my_check\",\n    Message: \"Checks passed\",\n    Status:  \"passed\",\n}\nerr := client.Check(checkRequest, \"my-integration-uuid\")\n```\n\nThe `Message` field is optional and `Status` should be one of `passed` or `failed`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fopslevel-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fopslevel-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fopslevel-go/lists"}