Socket
Book a DemoInstallSign in
Socket

src.techknowlogick.com/twenky

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

src.techknowlogick.com/twenky

Go Modules
Version
v0.0.0-20241220222451-7386feddcfb2
Version published
Created
Source

Go API client for openapi

This is a Twenty CRM REST/API playground based on its OpenAPI 3.0 specification.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v0.1
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

What's with the name?

Started as Twenty SDK then became twenky and because it sounds like the twinkie snack, the name stuck.

License

As this is generated from the API Spec of Twenty CRM (twenty crm codebase is licensed as AGPL3, and presumably the spec that is generated from it could be as well), but also from templates from OpenAPI (presumably the templates are ASL20), I am unsure of what the requirements are for this specific codebase, and the implications of any codebase that may import this library. If you are knowledgeable in this area, I'd appreciate any feedback, but for now, perhaps treat this codebase as if it doesn't exist and try to create one of your own that doesn't have any of these encumbrances.

To get into the weeds a little, there's the whole google v oracle thing that debated the "fair use" of interfaces, which in theory is what an openapi spec is, a document describing interfaces, and not implementation of code itself. The outcome was that Google was covered under "fair use" doctrine. Another example of a similar thing is Linux implementing POSIX (APIs that originally were implementations of closed-source UNIX). This is rather US centric as well, but could conceivably be covered under some international treaties. All that to say, I expect some could say the easiest thing is this is AGPL3, so that's what this should be, but before I assign any license to code, regardless of what it may be, I like to understand what the implications and prior requirements are.

I do not intend anyone to see this code, it is only here as it needs to be somewhere where my CLIs can access and I can experiment with it. If you do happen to stumble here, please avert your eyes (unless that creates some condition that is against the license that this codebase is under), and follow your own path to create a golang SDK for twenty crm that you feel meets your suitablitiy for licensing. It should be clear how this codebase came to be including any provenance. I do not intend to hide anything, and instead give thanks to all those that made this came to be.

Life is full of mystery, you are better off solving ones with more impact than this.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "src.techknowlogick.com/twenky"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://example.com/rest

ClassMethodHTTP requestDescription
ApiKeysAPICreateManyApiKeysPost /batch/apiKeysCreate Many apiKeys
ApiKeysAPICreateOneApiKeyPost /apiKeysCreate One apiKey
ApiKeysAPIDeleteOneApiKeyDelete /apiKeys/{id}Delete One apiKey
ApiKeysAPIFindApiKeyDuplicatesPost /apiKeys/duplicatesFind apiKey Duplicates
ApiKeysAPIFindManyApiKeysGet /apiKeysFind Many apiKeys
ApiKeysAPIFindOneApiKeyGet /apiKeys/{id}Find One apiKey
ApiKeysAPIUpdateOneApiKeyPatch /apiKeys/{id}Update One apiKey
AttachmentsAPICreateManyAttachmentsPost /batch/attachmentsCreate Many attachments
AttachmentsAPICreateOneAttachmentPost /attachmentsCreate One attachment
AttachmentsAPIDeleteOneAttachmentDelete /attachments/{id}Delete One attachment
AttachmentsAPIFindAttachmentDuplicatesPost /attachments/duplicatesFind attachment Duplicates
AttachmentsAPIFindManyAttachmentsGet /attachmentsFind Many attachments
AttachmentsAPIFindOneAttachmentGet /attachments/{id}Find One attachment
AttachmentsAPIUpdateOneAttachmentPatch /attachments/{id}Update One attachment
AuditLogsAPICreateManyAuditLogsPost /batch/auditLogsCreate Many auditLogs
AuditLogsAPICreateOneAuditLogPost /auditLogsCreate One auditLog
AuditLogsAPIDeleteOneAuditLogDelete /auditLogs/{id}Delete One auditLog
AuditLogsAPIFindAuditLogDuplicatesPost /auditLogs/duplicatesFind auditLog Duplicates
AuditLogsAPIFindManyAuditLogsGet /auditLogsFind Many auditLogs
AuditLogsAPIFindOneAuditLogGet /auditLogs/{id}Find One auditLog
AuditLogsAPIUpdateOneAuditLogPatch /auditLogs/{id}Update One auditLog
BlocklistsAPICreateManyBlocklistsPost /batch/blocklistsCreate Many blocklists
BlocklistsAPICreateOneBlocklistPost /blocklistsCreate One blocklist
BlocklistsAPIDeleteOneBlocklistDelete /blocklists/{id}Delete One blocklist
BlocklistsAPIFindBlocklistDuplicatesPost /blocklists/duplicatesFind blocklist Duplicates
BlocklistsAPIFindManyBlocklistsGet /blocklistsFind Many blocklists
BlocklistsAPIFindOneBlocklistGet /blocklists/{id}Find One blocklist
BlocklistsAPIUpdateOneBlocklistPatch /blocklists/{id}Update One blocklist
CalendarChannelEventAssociationsAPICreateManyCalendarChannelEventAssociationsPost /batch/calendarChannelEventAssociationsCreate Many calendarChannelEventAssociations
CalendarChannelEventAssociationsAPICreateOneCalendarChannelEventAssociationPost /calendarChannelEventAssociationsCreate One calendarChannelEventAssociation
CalendarChannelEventAssociationsAPIDeleteOneCalendarChannelEventAssociationDelete /calendarChannelEventAssociations/{id}Delete One calendarChannelEventAssociation
CalendarChannelEventAssociationsAPIFindCalendarChannelEventAssociationDuplicatesPost /calendarChannelEventAssociations/duplicatesFind calendarChannelEventAssociation Duplicates
CalendarChannelEventAssociationsAPIFindManyCalendarChannelEventAssociationsGet /calendarChannelEventAssociationsFind Many calendarChannelEventAssociations
CalendarChannelEventAssociationsAPIFindOneCalendarChannelEventAssociationGet /calendarChannelEventAssociations/{id}Find One calendarChannelEventAssociation
CalendarChannelEventAssociationsAPIUpdateOneCalendarChannelEventAssociationPatch /calendarChannelEventAssociations/{id}Update One calendarChannelEventAssociation
CalendarChannelsAPICreateManyCalendarChannelsPost /batch/calendarChannelsCreate Many calendarChannels
CalendarChannelsAPICreateOneCalendarChannelPost /calendarChannelsCreate One calendarChannel
CalendarChannelsAPIDeleteOneCalendarChannelDelete /calendarChannels/{id}Delete One calendarChannel
CalendarChannelsAPIFindCalendarChannelDuplicatesPost /calendarChannels/duplicatesFind calendarChannel Duplicates
CalendarChannelsAPIFindManyCalendarChannelsGet /calendarChannelsFind Many calendarChannels
CalendarChannelsAPIFindOneCalendarChannelGet /calendarChannels/{id}Find One calendarChannel
CalendarChannelsAPIUpdateOneCalendarChannelPatch /calendarChannels/{id}Update One calendarChannel
CalendarEventParticipantsAPICreateManyCalendarEventParticipantsPost /batch/calendarEventParticipantsCreate Many calendarEventParticipants
CalendarEventParticipantsAPICreateOneCalendarEventParticipantPost /calendarEventParticipantsCreate One calendarEventParticipant
CalendarEventParticipantsAPIDeleteOneCalendarEventParticipantDelete /calendarEventParticipants/{id}Delete One calendarEventParticipant
CalendarEventParticipantsAPIFindCalendarEventParticipantDuplicatesPost /calendarEventParticipants/duplicatesFind calendarEventParticipant Duplicates
CalendarEventParticipantsAPIFindManyCalendarEventParticipantsGet /calendarEventParticipantsFind Many calendarEventParticipants
CalendarEventParticipantsAPIFindOneCalendarEventParticipantGet /calendarEventParticipants/{id}Find One calendarEventParticipant
CalendarEventParticipantsAPIUpdateOneCalendarEventParticipantPatch /calendarEventParticipants/{id}Update One calendarEventParticipant
CalendarEventsAPICreateManyCalendarEventsPost /batch/calendarEventsCreate Many calendarEvents
CalendarEventsAPICreateOneCalendarEventPost /calendarEventsCreate One calendarEvent
CalendarEventsAPIDeleteOneCalendarEventDelete /calendarEvents/{id}Delete One calendarEvent
CalendarEventsAPIFindCalendarEventDuplicatesPost /calendarEvents/duplicatesFind calendarEvent Duplicates
CalendarEventsAPIFindManyCalendarEventsGet /calendarEventsFind Many calendarEvents
CalendarEventsAPIFindOneCalendarEventGet /calendarEvents/{id}Find One calendarEvent
CalendarEventsAPIUpdateOneCalendarEventPatch /calendarEvents/{id}Update One calendarEvent
CompaniesAPICreateManyCompaniesPost /batch/companiesCreate Many companies
CompaniesAPICreateOneCompanyPost /companiesCreate One company
CompaniesAPIDeleteOneCompanyDelete /companies/{id}Delete One company
CompaniesAPIFindCompanyDuplicatesPost /companies/duplicatesFind company Duplicates
CompaniesAPIFindManyCompaniesGet /companiesFind Many companies
CompaniesAPIFindOneCompanyGet /companies/{id}Find One company
CompaniesAPIUpdateOneCompanyPatch /companies/{id}Update One company
ConnectedAccountsAPICreateManyConnectedAccountsPost /batch/connectedAccountsCreate Many connectedAccounts
ConnectedAccountsAPICreateOneConnectedAccountPost /connectedAccountsCreate One connectedAccount
ConnectedAccountsAPIDeleteOneConnectedAccountDelete /connectedAccounts/{id}Delete One connectedAccount
ConnectedAccountsAPIFindConnectedAccountDuplicatesPost /connectedAccounts/duplicatesFind connectedAccount Duplicates
ConnectedAccountsAPIFindManyConnectedAccountsGet /connectedAccountsFind Many connectedAccounts
ConnectedAccountsAPIFindOneConnectedAccountGet /connectedAccounts/{id}Find One connectedAccount
ConnectedAccountsAPIUpdateOneConnectedAccountPatch /connectedAccounts/{id}Update One connectedAccount
FavoritesAPICreateManyFavoritesPost /batch/favoritesCreate Many favorites
FavoritesAPICreateOneFavoritePost /favoritesCreate One favorite
FavoritesAPIDeleteOneFavoriteDelete /favorites/{id}Delete One favorite
FavoritesAPIFindFavoriteDuplicatesPost /favorites/duplicatesFind favorite Duplicates
FavoritesAPIFindManyFavoritesGet /favoritesFind Many favorites
FavoritesAPIFindOneFavoriteGet /favorites/{id}Find One favorite
FavoritesAPIUpdateOneFavoritePatch /favorites/{id}Update One favorite
GeneralAPIGetOpenApiSchemaGet /open-api/coreGet Open Api Schema
MessageChannelMessageAssociationsAPICreateManyMessageChannelMessageAssociationsPost /batch/messageChannelMessageAssociationsCreate Many messageChannelMessageAssociations
MessageChannelMessageAssociationsAPICreateOneMessageChannelMessageAssociationPost /messageChannelMessageAssociationsCreate One messageChannelMessageAssociation
MessageChannelMessageAssociationsAPIDeleteOneMessageChannelMessageAssociationDelete /messageChannelMessageAssociations/{id}Delete One messageChannelMessageAssociation
MessageChannelMessageAssociationsAPIFindManyMessageChannelMessageAssociationsGet /messageChannelMessageAssociationsFind Many messageChannelMessageAssociations
MessageChannelMessageAssociationsAPIFindMessageChannelMessageAssociationDuplicatesPost /messageChannelMessageAssociations/duplicatesFind messageChannelMessageAssociation Duplicates
MessageChannelMessageAssociationsAPIFindOneMessageChannelMessageAssociationGet /messageChannelMessageAssociations/{id}Find One messageChannelMessageAssociation
MessageChannelMessageAssociationsAPIUpdateOneMessageChannelMessageAssociationPatch /messageChannelMessageAssociations/{id}Update One messageChannelMessageAssociation
MessageChannelsAPICreateManyMessageChannelsPost /batch/messageChannelsCreate Many messageChannels
MessageChannelsAPICreateOneMessageChannelPost /messageChannelsCreate One messageChannel
MessageChannelsAPIDeleteOneMessageChannelDelete /messageChannels/{id}Delete One messageChannel
MessageChannelsAPIFindManyMessageChannelsGet /messageChannelsFind Many messageChannels
MessageChannelsAPIFindMessageChannelDuplicatesPost /messageChannels/duplicatesFind messageChannel Duplicates
MessageChannelsAPIFindOneMessageChannelGet /messageChannels/{id}Find One messageChannel
MessageChannelsAPIUpdateOneMessageChannelPatch /messageChannels/{id}Update One messageChannel
MessageParticipantsAPICreateManyMessageParticipantsPost /batch/messageParticipantsCreate Many messageParticipants
MessageParticipantsAPICreateOneMessageParticipantPost /messageParticipantsCreate One messageParticipant
MessageParticipantsAPIDeleteOneMessageParticipantDelete /messageParticipants/{id}Delete One messageParticipant
MessageParticipantsAPIFindManyMessageParticipantsGet /messageParticipantsFind Many messageParticipants
MessageParticipantsAPIFindMessageParticipantDuplicatesPost /messageParticipants/duplicatesFind messageParticipant Duplicates
MessageParticipantsAPIFindOneMessageParticipantGet /messageParticipants/{id}Find One messageParticipant
MessageParticipantsAPIUpdateOneMessageParticipantPatch /messageParticipants/{id}Update One messageParticipant
MessageThreadsAPICreateManyMessageThreadsPost /batch/messageThreadsCreate Many messageThreads
MessageThreadsAPICreateOneMessageThreadPost /messageThreadsCreate One messageThread
MessageThreadsAPIDeleteOneMessageThreadDelete /messageThreads/{id}Delete One messageThread
MessageThreadsAPIFindManyMessageThreadsGet /messageThreadsFind Many messageThreads
MessageThreadsAPIFindMessageThreadDuplicatesPost /messageThreads/duplicatesFind messageThread Duplicates
MessageThreadsAPIFindOneMessageThreadGet /messageThreads/{id}Find One messageThread
MessageThreadsAPIUpdateOneMessageThreadPatch /messageThreads/{id}Update One messageThread
MessagesAPICreateManyMessagesPost /batch/messagesCreate Many messages
MessagesAPICreateOneMessagePost /messagesCreate One message
MessagesAPIDeleteOneMessageDelete /messages/{id}Delete One message
MessagesAPIFindManyMessagesGet /messagesFind Many messages
MessagesAPIFindMessageDuplicatesPost /messages/duplicatesFind message Duplicates
MessagesAPIFindOneMessageGet /messages/{id}Find One message
MessagesAPIUpdateOneMessagePatch /messages/{id}Update One message
NoteTargetsAPICreateManyNoteTargetsPost /batch/noteTargetsCreate Many noteTargets
NoteTargetsAPICreateOneNoteTargetPost /noteTargetsCreate One noteTarget
NoteTargetsAPIDeleteOneNoteTargetDelete /noteTargets/{id}Delete One noteTarget
NoteTargetsAPIFindManyNoteTargetsGet /noteTargetsFind Many noteTargets
NoteTargetsAPIFindNoteTargetDuplicatesPost /noteTargets/duplicatesFind noteTarget Duplicates
NoteTargetsAPIFindOneNoteTargetGet /noteTargets/{id}Find One noteTarget
NoteTargetsAPIUpdateOneNoteTargetPatch /noteTargets/{id}Update One noteTarget
NotesAPICreateManyNotesPost /batch/notesCreate Many notes
NotesAPICreateOneNotePost /notesCreate One note
NotesAPIDeleteOneNoteDelete /notes/{id}Delete One note
NotesAPIFindManyNotesGet /notesFind Many notes
NotesAPIFindNoteDuplicatesPost /notes/duplicatesFind note Duplicates
NotesAPIFindOneNoteGet /notes/{id}Find One note
NotesAPIUpdateOneNotePatch /notes/{id}Update One note
OpportunitiesAPICreateManyOpportunitiesPost /batch/opportunitiesCreate Many opportunities
OpportunitiesAPICreateOneOpportunityPost /opportunitiesCreate One opportunity
OpportunitiesAPIDeleteOneOpportunityDelete /opportunities/{id}Delete One opportunity
OpportunitiesAPIFindManyOpportunitiesGet /opportunitiesFind Many opportunities
OpportunitiesAPIFindOneOpportunityGet /opportunities/{id}Find One opportunity
OpportunitiesAPIFindOpportunityDuplicatesPost /opportunities/duplicatesFind opportunity Duplicates
OpportunitiesAPIUpdateOneOpportunityPatch /opportunities/{id}Update One opportunity
PeopleAPICreateManyPeoplePost /batch/peopleCreate Many people
PeopleAPICreateOnePersonPost /peopleCreate One person
PeopleAPIDeleteOnePersonDelete /people/{id}Delete One person
PeopleAPIFindManyPeopleGet /peopleFind Many people
PeopleAPIFindOnePersonGet /people/{id}Find One person
PeopleAPIFindPersonDuplicatesPost /people/duplicatesFind person Duplicates
PeopleAPIUpdateOnePersonPatch /people/{id}Update One person
TaskTargetsAPICreateManyTaskTargetsPost /batch/taskTargetsCreate Many taskTargets
TaskTargetsAPICreateOneTaskTargetPost /taskTargetsCreate One taskTarget
TaskTargetsAPIDeleteOneTaskTargetDelete /taskTargets/{id}Delete One taskTarget
TaskTargetsAPIFindManyTaskTargetsGet /taskTargetsFind Many taskTargets
TaskTargetsAPIFindOneTaskTargetGet /taskTargets/{id}Find One taskTarget
TaskTargetsAPIFindTaskTargetDuplicatesPost /taskTargets/duplicatesFind taskTarget Duplicates
TaskTargetsAPIUpdateOneTaskTargetPatch /taskTargets/{id}Update One taskTarget
TasksAPICreateManyTasksPost /batch/tasksCreate Many tasks
TasksAPICreateOneTaskPost /tasksCreate One task
TasksAPIDeleteOneTaskDelete /tasks/{id}Delete One task
TasksAPIFindManyTasksGet /tasksFind Many tasks
TasksAPIFindOneTaskGet /tasks/{id}Find One task
TasksAPIFindTaskDuplicatesPost /tasks/duplicatesFind task Duplicates
TasksAPIUpdateOneTaskPatch /tasks/{id}Update One task
TimelineActivitiesAPICreateManyTimelineActivitiesPost /batch/timelineActivitiesCreate Many timelineActivities
TimelineActivitiesAPICreateOneTimelineActivityPost /timelineActivitiesCreate One timelineActivity
TimelineActivitiesAPIDeleteOneTimelineActivityDelete /timelineActivities/{id}Delete One timelineActivity
TimelineActivitiesAPIFindManyTimelineActivitiesGet /timelineActivitiesFind Many timelineActivities
TimelineActivitiesAPIFindOneTimelineActivityGet /timelineActivities/{id}Find One timelineActivity
TimelineActivitiesAPIFindTimelineActivityDuplicatesPost /timelineActivities/duplicatesFind timelineActivity Duplicates
TimelineActivitiesAPIUpdateOneTimelineActivityPatch /timelineActivities/{id}Update One timelineActivity
ViewFieldsAPICreateManyViewFieldsPost /batch/viewFieldsCreate Many viewFields
ViewFieldsAPICreateOneViewFieldPost /viewFieldsCreate One viewField
ViewFieldsAPIDeleteOneViewFieldDelete /viewFields/{id}Delete One viewField
ViewFieldsAPIFindManyViewFieldsGet /viewFieldsFind Many viewFields
ViewFieldsAPIFindOneViewFieldGet /viewFields/{id}Find One viewField
ViewFieldsAPIFindViewFieldDuplicatesPost /viewFields/duplicatesFind viewField Duplicates
ViewFieldsAPIUpdateOneViewFieldPatch /viewFields/{id}Update One viewField
ViewFilterGroupsAPICreateManyViewFilterGroupsPost /batch/viewFilterGroupsCreate Many viewFilterGroups
ViewFilterGroupsAPICreateOneViewFilterGroupPost /viewFilterGroupsCreate One viewFilterGroup
ViewFilterGroupsAPIDeleteOneViewFilterGroupDelete /viewFilterGroups/{id}Delete One viewFilterGroup
ViewFilterGroupsAPIFindManyViewFilterGroupsGet /viewFilterGroupsFind Many viewFilterGroups
ViewFilterGroupsAPIFindOneViewFilterGroupGet /viewFilterGroups/{id}Find One viewFilterGroup
ViewFilterGroupsAPIFindViewFilterGroupDuplicatesPost /viewFilterGroups/duplicatesFind viewFilterGroup Duplicates
ViewFilterGroupsAPIUpdateOneViewFilterGroupPatch /viewFilterGroups/{id}Update One viewFilterGroup
ViewFiltersAPICreateManyViewFiltersPost /batch/viewFiltersCreate Many viewFilters
ViewFiltersAPICreateOneViewFilterPost /viewFiltersCreate One viewFilter
ViewFiltersAPIDeleteOneViewFilterDelete /viewFilters/{id}Delete One viewFilter
ViewFiltersAPIFindManyViewFiltersGet /viewFiltersFind Many viewFilters
ViewFiltersAPIFindOneViewFilterGet /viewFilters/{id}Find One viewFilter
ViewFiltersAPIFindViewFilterDuplicatesPost /viewFilters/duplicatesFind viewFilter Duplicates
ViewFiltersAPIUpdateOneViewFilterPatch /viewFilters/{id}Update One viewFilter
ViewGroupsAPICreateManyViewGroupsPost /batch/viewGroupsCreate Many viewGroups
ViewGroupsAPICreateOneViewGroupPost /viewGroupsCreate One viewGroup
ViewGroupsAPIDeleteOneViewGroupDelete /viewGroups/{id}Delete One viewGroup
ViewGroupsAPIFindManyViewGroupsGet /viewGroupsFind Many viewGroups
ViewGroupsAPIFindOneViewGroupGet /viewGroups/{id}Find One viewGroup
ViewGroupsAPIFindViewGroupDuplicatesPost /viewGroups/duplicatesFind viewGroup Duplicates
ViewGroupsAPIUpdateOneViewGroupPatch /viewGroups/{id}Update One viewGroup
ViewSortsAPICreateManyViewSortsPost /batch/viewSortsCreate Many viewSorts
ViewSortsAPICreateOneViewSortPost /viewSortsCreate One viewSort
ViewSortsAPIDeleteOneViewSortDelete /viewSorts/{id}Delete One viewSort
ViewSortsAPIFindManyViewSortsGet /viewSortsFind Many viewSorts
ViewSortsAPIFindOneViewSortGet /viewSorts/{id}Find One viewSort
ViewSortsAPIFindViewSortDuplicatesPost /viewSorts/duplicatesFind viewSort Duplicates
ViewSortsAPIUpdateOneViewSortPatch /viewSorts/{id}Update One viewSort
ViewsAPICreateManyViewsPost /batch/viewsCreate Many views
ViewsAPICreateOneViewPost /viewsCreate One view
ViewsAPIDeleteOneViewDelete /views/{id}Delete One view
ViewsAPIFindManyViewsGet /viewsFind Many views
ViewsAPIFindOneViewGet /views/{id}Find One view
ViewsAPIFindViewDuplicatesPost /views/duplicatesFind view Duplicates
ViewsAPIUpdateOneViewPatch /views/{id}Update One view
WebhooksAPICreateManyWebhooksPost /batch/webhooksCreate Many webhooks
WebhooksAPICreateOneWebhookPost /webhooksCreate One webhook
WebhooksAPIDeleteOneWebhookDelete /webhooks/{id}Delete One webhook
WebhooksAPIFindManyWebhooksGet /webhooksFind Many webhooks
WebhooksAPIFindOneWebhookGet /webhooks/{id}Find One webhook
WebhooksAPIFindWebhookDuplicatesPost /webhooks/duplicatesFind webhook Duplicates
WebhooksAPIUpdateOneWebhookPatch /webhooks/{id}Update One webhook
WorkspaceMembersAPICreateManyWorkspaceMembersPost /batch/workspaceMembersCreate Many workspaceMembers
WorkspaceMembersAPICreateOneWorkspaceMemberPost /workspaceMembersCreate One workspaceMember
WorkspaceMembersAPIDeleteOneWorkspaceMemberDelete /workspaceMembers/{id}Delete One workspaceMember
WorkspaceMembersAPIFindManyWorkspaceMembersGet /workspaceMembersFind Many workspaceMembers
WorkspaceMembersAPIFindOneWorkspaceMemberGet /workspaceMembers/{id}Find One workspaceMember
WorkspaceMembersAPIFindWorkspaceMemberDuplicatesPost /workspaceMembers/duplicatesFind workspaceMember Duplicates
WorkspaceMembersAPIUpdateOneWorkspaceMemberPatch /workspaceMembers/{id}Update One workspaceMember

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), openapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

FAQs

Package last updated on 20 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts