Skip to content

Latest commit

 

History

History
89 lines (66 loc) · 4.55 KB

README.md

File metadata and controls

89 lines (66 loc) · 4.55 KB

Go API client for client

Moov Watchman offers download, parse, and search functions over numerous U.S. trade sanction lists 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 "./client"

Documentation for API Endpoints

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

Class Method HTTP request Description
WatchmanApi AddOfacCompanyNameWatch Post /ofac/companies/watch Watch company
WatchmanApi AddOfacCompanyWatch Post /ofac/companies/{companyID}/watch Watch OFAC company
WatchmanApi AddOfacCustomerNameWatch Post /ofac/customers/watch Watch customer
WatchmanApi AddOfacCustomerWatch Post /ofac/customers/{customerID}/watch Watch OFAC customer
WatchmanApi GetLatestDownloads Get /downloads Get latest downloads
WatchmanApi GetOfacCompany Get /ofac/companies/{companyID} Get company
WatchmanApi GetOfacCustomer Get /ofac/customers/{customerID} Get customer
WatchmanApi GetSDN Get /ofac/sdn/{sdnID} Get SDN
WatchmanApi GetSDNAddresses Get /ofac/sdn/{sdnID}/addresses Get SDN addresses
WatchmanApi GetSDNAltNames Get /ofac/sdn/{sdnID}/alts Get SDN alt names
WatchmanApi GetUIValues Get /ui/values/{key} Get UI values
WatchmanApi Ping Get /ping Ping Watchman service
WatchmanApi RemoveOfacCompanyNameWatch Delete /ofac/companies/watch/{watchID} Remove company watch
WatchmanApi RemoveOfacCompanyWatch Delete /ofac/companies/{companyID}/watch/{watchID} Remove company watch
WatchmanApi RemoveOfacCustomerNameWatch Delete /ofac/customers/watch/{watchID} Remove customer watch
WatchmanApi RemoveOfacCustomerWatch Delete /ofac/customers/{customerID}/watch/{watchID} Remove customer watch
WatchmanApi Search Get /search Search SDNs
WatchmanApi UpdateOfacCompanyStatus Put /ofac/companies/{companyID} Update company
WatchmanApi UpdateOfacCustomerStatus Put /ofac/customers/{customerID} Update customer

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author