This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.3.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
Put the package under your project folder and add the following in import:
import "./passbase"
All URIs are relative to https://api.passbase.com/verification/v2
Class | Method | HTTP request | Description |
---|---|---|---|
IdentityApi | GetIdentityById | Get /identities/{id} | Get identity |
IdentityApi | GetIdentityResourceById | Get /identity/{id}/resources/{resource_id} | Get resource |
IdentityApi | GetIdentityResourceFileById | Get /identity/{id}/resources/{resource_id}/resource_files/{resource_file_id} | Get resource file |
IdentityApi | ListIdentities | Get /identities | List identities |
IdentityApi | ListIdentityResources | Get /identity/{id}/resources | List resources |
ProjectApi | GetSettings | Get /settings | Get project settings |
- Cursor
- DataPoints
- Identity
- IdentityOwner
- IdentityResource
- PaginatedIdentities
- PaginatedResources
- ProjectSettings
- ProjectSettingsCustomizations
- ProjectSettingsVerificationSteps
- Resource
- ResourceFile
- ResourceFilesInner
- ResourceFilesInputInner
- ResourceInput
- User
- WatchlistResponse
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)