Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 2.98 KB

File metadata and controls

81 lines (64 loc) · 2.98 KB

banner

Go API client for passbase

Introduction

Overview

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

Installation

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

import "./passbase"

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

IdentityAccessToken

PublishableApiKey

  • 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)

SecretApiKey

  • 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)

Author