Skip to content

Latest commit

 

History

History

admin

Go API client for admin

Watchman is an HTTP API and Go library to download, parse and offer search functions over numerous trade sanction lists from the United States, European Union governments, agencies, and non profits for complying with regional laws. Also included is a web UI and async webhook notification service to initiate processes on remote systems.

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: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://github.com/moov-io/watchman

Installation

Install the following dependencies:

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

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

import "./admin"

Documentation for API Endpoints

All URIs are relative to http://localhost:9094

Class Method HTTP request Description
AdminApi DebugSDN Get /debug/sdn/{sdnId} Debug SDN
AdminApi GetVersion Get /version Get Version
AdminApi RefreshData Post /data/refresh Download and reindex all data sources

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author