{"id":43009972,"url":"https://github.com/merge-api/merge-ticketing-go","last_synced_at":"2026-01-31T05:08:56.337Z","repository":{"id":61629310,"uuid":"546741651","full_name":"merge-api/merge-ticketing-go","owner":"merge-api","description":"The Go API Client for the Merge Ticketing API.","archived":false,"fork":false,"pushed_at":"2023-06-20T20:35:26.000Z","size":548,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-06-20T11:50:51.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/merge-api.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-06T15:11:13.000Z","updated_at":"2022-10-06T19:38:05.000Z","dependencies_parsed_at":"2024-06-20T11:02:50.269Z","dependency_job_id":"058fa81b-8d74-4fcc-b8d3-ccefecffd6d8","html_url":"https://github.com/merge-api/merge-ticketing-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/merge-api/merge-ticketing-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge-api%2Fmerge-ticketing-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge-api%2Fmerge-ticketing-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge-api%2Fmerge-ticketing-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge-api%2Fmerge-ticketing-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merge-api","download_url":"https://codeload.github.com/merge-api/merge-ticketing-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge-api%2Fmerge-ticketing-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"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":"2026-01-31T05:08:55.404Z","updated_at":"2026-01-31T05:08:56.324Z","avatar_url":"https://github.com/merge-api.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go API client for merge_ticketing_client\n\nThe unified API for building rich integrations with multiple Ticketing platforms.\n\n## Overview\nThis API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.\n\n- API version: 1.0\n- Package version: 1.3.0\n- Build package: org.openapitools.codegen.languages.GoClientCodegen\nFor more information, please visit [https://www.merge.dev/](https://www.merge.dev/)\n\n## Installation\n\nInstall the following dependencies:\n\n```shell\ngo get github.com/stretchr/testify/assert\ngo get golang.org/x/oauth2\ngo get golang.org/x/net/context\n```\n\nPut the package under your project folder and add the following in import:\n\n```golang\nimport sw \"./merge_ticketing_client\"\n```\n\nTo use a proxy, set the environment variable `HTTP_PROXY`:\n\n```golang\nos.Setenv(\"HTTP_PROXY\", \"http://proxy_name:proxy_port\")\n```\n\n## Configuration of Server URL\n\nDefault configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification.\n\n### Select Server Configuration\n\nFor using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.\n\n```golang\nctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)\n```\n\n### Templated Server URL\n\nTemplated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.\n\n```golang\nctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{\n\t\"basePath\": \"v2\",\n})\n```\n\nNote, enum values are always validated and all unused variables are silently ignored.\n\n### URLs Configuration per Operation\n\nEach operation can use different server URL defined using `OperationServers` map in the `Configuration`.\nAn operation is uniquely identifield by `\"{classname}Service.{nickname}\"` string.\nSimilar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.\n\n```\nctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{\n\t\"{classname}Service.{nickname}\": 2,\n})\nctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{\n\t\"{classname}Service.{nickname}\": {\n\t\t\"port\": \"8443\",\n\t},\n})\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.merge.dev/api/ticketing/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*AccountDetailsApi* | [**AccountDetailsRetrieve**](docs/AccountDetailsApi.md#accountdetailsretrieve) | **Get** /account-details | \n*AccountTokenApi* | [**AccountTokenRetrieve**](docs/AccountTokenApi.md#accounttokenretrieve) | **Get** /account-token/{public_token} | \n*AccountsApi* | [**AccountsList**](docs/AccountsApi.md#accountslist) | **Get** /accounts | \n*AccountsApi* | [**AccountsRetrieve**](docs/AccountsApi.md#accountsretrieve) | **Get** /accounts/{id} | \n*AttachmentsApi* | [**AttachmentsCreate**](docs/AttachmentsApi.md#attachmentscreate) | **Post** /attachments | \n*AttachmentsApi* | [**AttachmentsList**](docs/AttachmentsApi.md#attachmentslist) | **Get** /attachments | \n*AttachmentsApi* | [**AttachmentsMetaPostRetrieve**](docs/AttachmentsApi.md#attachmentsmetapostretrieve) | **Get** /attachments/meta/post | \n*AttachmentsApi* | [**AttachmentsRetrieve**](docs/AttachmentsApi.md#attachmentsretrieve) | **Get** /attachments/{id} | \n*AvailableActionsApi* | [**AvailableActionsRetrieve**](docs/AvailableActionsApi.md#availableactionsretrieve) | **Get** /available-actions | \n*CollectionsApi* | [**CollectionsList**](docs/CollectionsApi.md#collectionslist) | **Get** /collections | \n*CollectionsApi* | [**CollectionsRetrieve**](docs/CollectionsApi.md#collectionsretrieve) | **Get** /collections/{id} | \n*CollectionsApi* | [**CollectionsUsersList**](docs/CollectionsApi.md#collectionsuserslist) | **Get** /collections/{parent_id}/users | \n*CommentsApi* | [**CommentsCreate**](docs/CommentsApi.md#commentscreate) | **Post** /comments | \n*CommentsApi* | [**CommentsList**](docs/CommentsApi.md#commentslist) | **Get** /comments | \n*CommentsApi* | [**CommentsMetaPostRetrieve**](docs/CommentsApi.md#commentsmetapostretrieve) | **Get** /comments/meta/post | \n*CommentsApi* | [**CommentsRetrieve**](docs/CommentsApi.md#commentsretrieve) | **Get** /comments/{id} | \n*ContactsApi* | [**ContactsList**](docs/ContactsApi.md#contactslist) | **Get** /contacts | \n*ContactsApi* | [**ContactsRetrieve**](docs/ContactsApi.md#contactsretrieve) | **Get** /contacts/{id} | \n*DeleteAccountApi* | [**DeleteAccountCreate**](docs/DeleteAccountApi.md#deleteaccountcreate) | **Post** /delete-account | \n*ForceResyncApi* | [**SyncStatusResyncCreate**](docs/ForceResyncApi.md#syncstatusresynccreate) | **Post** /sync-status/resync | \n*GenerateKeyApi* | [**GenerateKeyCreate**](docs/GenerateKeyApi.md#generatekeycreate) | **Post** /generate-key | \n*IssuesApi* | [**IssuesList**](docs/IssuesApi.md#issueslist) | **Get** /issues | \n*IssuesApi* | [**IssuesRetrieve**](docs/IssuesApi.md#issuesretrieve) | **Get** /issues/{id} | \n*LinkTokenApi* | [**LinkTokenCreate**](docs/LinkTokenApi.md#linktokencreate) | **Post** /link-token | \n*LinkedAccountsApi* | [**LinkedAccountsList**](docs/LinkedAccountsApi.md#linkedaccountslist) | **Get** /linked-accounts | \n*PassthroughApi* | [**PassthroughCreate**](docs/PassthroughApi.md#passthroughcreate) | **Post** /passthrough | \n*ProjectsApi* | [**ProjectsList**](docs/ProjectsApi.md#projectslist) | **Get** /projects | \n*ProjectsApi* | [**ProjectsRetrieve**](docs/ProjectsApi.md#projectsretrieve) | **Get** /projects/{id} | \n*ProjectsApi* | [**ProjectsUsersList**](docs/ProjectsApi.md#projectsuserslist) | **Get** /projects/{parent_id}/users | \n*RegenerateKeyApi* | [**RegenerateKeyCreate**](docs/RegenerateKeyApi.md#regeneratekeycreate) | **Post** /regenerate-key | \n*SelectiveSyncApi* | [**SelectiveSyncConfigurationsList**](docs/SelectiveSyncApi.md#selectivesyncconfigurationslist) | **Get** /selective-sync/configurations | \n*SelectiveSyncApi* | [**SelectiveSyncConfigurationsUpdate**](docs/SelectiveSyncApi.md#selectivesyncconfigurationsupdate) | **Put** /selective-sync/configurations | \n*SelectiveSyncApi* | [**SelectiveSyncMetaList**](docs/SelectiveSyncApi.md#selectivesyncmetalist) | **Get** /selective-sync/meta | \n*SyncStatusApi* | [**SyncStatusList**](docs/SyncStatusApi.md#syncstatuslist) | **Get** /sync-status | \n*TagsApi* | [**TagsList**](docs/TagsApi.md#tagslist) | **Get** /tags | \n*TagsApi* | [**TagsRetrieve**](docs/TagsApi.md#tagsretrieve) | **Get** /tags/{id} | \n*TeamsApi* | [**TeamsList**](docs/TeamsApi.md#teamslist) | **Get** /teams | \n*TeamsApi* | [**TeamsRetrieve**](docs/TeamsApi.md#teamsretrieve) | **Get** /teams/{id} | \n*TicketsApi* | [**TicketsCollaboratorsList**](docs/TicketsApi.md#ticketscollaboratorslist) | **Get** /tickets/{parent_id}/collaborators | \n*TicketsApi* | [**TicketsCreate**](docs/TicketsApi.md#ticketscreate) | **Post** /tickets | \n*TicketsApi* | [**TicketsList**](docs/TicketsApi.md#ticketslist) | **Get** /tickets | \n*TicketsApi* | [**TicketsMetaPatchRetrieve**](docs/TicketsApi.md#ticketsmetapatchretrieve) | **Get** /tickets/meta/patch/{id} | \n*TicketsApi* | [**TicketsMetaPostRetrieve**](docs/TicketsApi.md#ticketsmetapostretrieve) | **Get** /tickets/meta/post | \n*TicketsApi* | [**TicketsPartialUpdate**](docs/TicketsApi.md#ticketspartialupdate) | **Patch** /tickets/{id} | \n*TicketsApi* | [**TicketsRemoteFieldClassesList**](docs/TicketsApi.md#ticketsremotefieldclasseslist) | **Get** /tickets/remote-field-classes | \n*TicketsApi* | [**TicketsRetrieve**](docs/TicketsApi.md#ticketsretrieve) | **Get** /tickets/{id} | \n*UsersApi* | [**UsersList**](docs/UsersApi.md#userslist) | **Get** /users | \n*UsersApi* | [**UsersRetrieve**](docs/UsersApi.md#usersretrieve) | **Get** /users/{id} | \n*WebhookReceiversApi* | [**WebhookReceiversCreate**](docs/WebhookReceiversApi.md#webhookreceiverscreate) | **Post** /webhook-receivers | \n*WebhookReceiversApi* | [**WebhookReceiversList**](docs/WebhookReceiversApi.md#webhookreceiverslist) | **Get** /webhook-receivers | \n\n\n## Documentation For Models\n\n - [Account](docs/Account.md)\n - [AccountDetails](docs/AccountDetails.md)\n - [AccountDetailsAndActions](docs/AccountDetailsAndActions.md)\n - [AccountDetailsAndActionsIntegration](docs/AccountDetailsAndActionsIntegration.md)\n - [AccountDetailsAndActionsStatusEnum](docs/AccountDetailsAndActionsStatusEnum.md)\n - [AccountIntegration](docs/AccountIntegration.md)\n - [AccountToken](docs/AccountToken.md)\n - [Attachment](docs/Attachment.md)\n - [AttachmentRequest](docs/AttachmentRequest.md)\n - [AvailableActions](docs/AvailableActions.md)\n - [CategoriesEnum](docs/CategoriesEnum.md)\n - [CategoryEnum](docs/CategoryEnum.md)\n - [Collection](docs/Collection.md)\n - [CollectionTypeEnum](docs/CollectionTypeEnum.md)\n - [Comment](docs/Comment.md)\n - [CommentEndpointRequest](docs/CommentEndpointRequest.md)\n - [CommentRequest](docs/CommentRequest.md)\n - [CommentResponse](docs/CommentResponse.md)\n - [CommonModelScopesBodyRequest](docs/CommonModelScopesBodyRequest.md)\n - [ConditionSchema](docs/ConditionSchema.md)\n - [ConditionTypeEnum](docs/ConditionTypeEnum.md)\n - [Contact](docs/Contact.md)\n - [DataPassthroughRequest](docs/DataPassthroughRequest.md)\n - [DebugModeLog](docs/DebugModeLog.md)\n - [DebugModelLogSummary](docs/DebugModelLogSummary.md)\n - [EnabledActionsEnum](docs/EnabledActionsEnum.md)\n - [EncodingEnum](docs/EncodingEnum.md)\n - [EndUserDetailsRequest](docs/EndUserDetailsRequest.md)\n - [ErrorValidationProblem](docs/ErrorValidationProblem.md)\n - [FieldFormatEnum](docs/FieldFormatEnum.md)\n - [FieldTypeEnum](docs/FieldTypeEnum.md)\n - [GenerateRemoteKeyRequest](docs/GenerateRemoteKeyRequest.md)\n - [Issue](docs/Issue.md)\n - [IssueStatusEnum](docs/IssueStatusEnum.md)\n - [ItemSchema](docs/ItemSchema.md)\n - [LinkToken](docs/LinkToken.md)\n - [LinkedAccountCondition](docs/LinkedAccountCondition.md)\n - [LinkedAccountConditionRequest](docs/LinkedAccountConditionRequest.md)\n - [LinkedAccountSelectiveSyncConfiguration](docs/LinkedAccountSelectiveSyncConfiguration.md)\n - [LinkedAccountSelectiveSyncConfigurationListRequest](docs/LinkedAccountSelectiveSyncConfigurationListRequest.md)\n - [LinkedAccountSelectiveSyncConfigurationRequest](docs/LinkedAccountSelectiveSyncConfigurationRequest.md)\n - [LinkedAccountStatus](docs/LinkedAccountStatus.md)\n - [MetaResponse](docs/MetaResponse.md)\n - [MethodEnum](docs/MethodEnum.md)\n - [ModelOperation](docs/ModelOperation.md)\n - [MultipartFormFieldRequest](docs/MultipartFormFieldRequest.md)\n - [OperatorSchema](docs/OperatorSchema.md)\n - [PaginatedAccountDetailsAndActionsList](docs/PaginatedAccountDetailsAndActionsList.md)\n - [PaginatedAccountList](docs/PaginatedAccountList.md)\n - [PaginatedAttachmentList](docs/PaginatedAttachmentList.md)\n - [PaginatedCollectionList](docs/PaginatedCollectionList.md)\n - [PaginatedCommentList](docs/PaginatedCommentList.md)\n - [PaginatedConditionSchemaList](docs/PaginatedConditionSchemaList.md)\n - [PaginatedContactList](docs/PaginatedContactList.md)\n - [PaginatedIssueList](docs/PaginatedIssueList.md)\n - [PaginatedProjectList](docs/PaginatedProjectList.md)\n - [PaginatedRemoteFieldClassList](docs/PaginatedRemoteFieldClassList.md)\n - [PaginatedSyncStatusList](docs/PaginatedSyncStatusList.md)\n - [PaginatedTagList](docs/PaginatedTagList.md)\n - [PaginatedTeamList](docs/PaginatedTeamList.md)\n - [PaginatedTicketList](docs/PaginatedTicketList.md)\n - [PaginatedUserList](docs/PaginatedUserList.md)\n - [PatchedTicketEndpointRequest](docs/PatchedTicketEndpointRequest.md)\n - [PatchedTicketRequest](docs/PatchedTicketRequest.md)\n - [PriorityEnum](docs/PriorityEnum.md)\n - [Project](docs/Project.md)\n - [RemoteData](docs/RemoteData.md)\n - [RemoteField](docs/RemoteField.md)\n - [RemoteFieldClass](docs/RemoteFieldClass.md)\n - [RemoteFieldRequest](docs/RemoteFieldRequest.md)\n - [RemoteKey](docs/RemoteKey.md)\n - [RemoteKeyForRegenerationRequest](docs/RemoteKeyForRegenerationRequest.md)\n - [RemoteResponse](docs/RemoteResponse.md)\n - [RequestFormatEnum](docs/RequestFormatEnum.md)\n - [ResponseTypeEnum](docs/ResponseTypeEnum.md)\n - [SelectiveSyncConfigurationsUsageEnum](docs/SelectiveSyncConfigurationsUsageEnum.md)\n - [SyncStatus](docs/SyncStatus.md)\n - [SyncStatusStatusEnum](docs/SyncStatusStatusEnum.md)\n - [Tag](docs/Tag.md)\n - [Team](docs/Team.md)\n - [Ticket](docs/Ticket.md)\n - [TicketEndpointRequest](docs/TicketEndpointRequest.md)\n - [TicketRequest](docs/TicketRequest.md)\n - [TicketResponse](docs/TicketResponse.md)\n - [TicketStatusEnum](docs/TicketStatusEnum.md)\n - [TicketingAttachmentEndpointRequest](docs/TicketingAttachmentEndpointRequest.md)\n - [TicketingAttachmentResponse](docs/TicketingAttachmentResponse.md)\n - [User](docs/User.md)\n - [ValidationProblemSource](docs/ValidationProblemSource.md)\n - [WarningValidationProblem](docs/WarningValidationProblem.md)\n - [WebhookReceiver](docs/WebhookReceiver.md)\n - [WebhookReceiverRequest](docs/WebhookReceiverRequest.md)\n\n\n## Documentation For Authorization\n\n\n\n### tokenAuth\n\n- **Type**: API key\n- **API key parameter name**: Authorization\n- **Location**: HTTP header\n\nNote, each API key must be added to a map of `map[string]APIKey` where the key is: Authorization and passed in as the auth context for each request.\n\n\n## Documentation for Utility Methods\n\nDue to the fact that model structure members are all pointers, this package contains\na number of utility functions to easily obtain pointers to values of basic types.\nEach of these functions takes a value of the given basic type and returns a pointer to it:\n\n* `PtrBool`\n* `PtrInt`\n* `PtrInt32`\n* `PtrInt64`\n* `PtrFloat`\n* `PtrFloat32`\n* `PtrFloat64`\n* `PtrString`\n* `PtrTime`\n\n## Author\n\nhello@merge.dev\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerge-api%2Fmerge-ticketing-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerge-api%2Fmerge-ticketing-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerge-api%2Fmerge-ticketing-go/lists"}