Skip to content

Files

This branch is 1028 commits behind operator-framework/operator-registry:master.

openapi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019
Aug 1, 2019

Go API client for openapi

APPR API documentation

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: 0.2.6
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

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 "./openapi"

Documentation for API Endpoints

All URIs are relative to https://localhost:5000

Class Method HTTP request Description
BlobsApi PullBlob Get /api/v1/packages/{namespace}/{package}/blobs/sha256/{digest} Pull a package blob by digest
BlobsApi PullBlobJson Get /api/v1/packages/{namespace}/{package}/blobs/sha256/{digest}/json Pull a package blob by digest
BlobsApi PullPackage Get /api/v1/packages/{namespace}/{package}/{release}/{media_type}/pull Download the package
BlobsApi PullPackageJson Get /api/v1/packages/{namespace}/{package}/{release}/{media_type}/pull/json Download the package
ChannelApi CreateChannel Post /api/v1/packages/{namespace}/{package}/channels Create a new channel
ChannelApi CreateChannelRelease Post /api/v1/packages/{namespace}/{package}/channels/{channel}/{release} Add a release to a channel
ChannelApi DeleteChannel Delete /api/v1/packages/{namespace}/{package}/channels/{channel} Delete channel
ChannelApi DeleteChannelRelease Delete /api/v1/packages/{namespace}/{package}/channels/{channel}/{release} Remove a release from the channel
ChannelApi ListChannels Get /api/v1/packages/{namespace}/{package}/channels List channels
ChannelApi ShowChannel Get /api/v1/packages/{namespace}/{package}/channels/{channel} show channel
InfoApi GetVersion Get /version Display api version
PackageApi CreatePackage Post /api/v1/packages Push new package release to the registry
PackageApi DeletePackage Delete /api/v1/packages/{namespace}/{package}/{release}/{media_type} Delete a package release
PackageApi ListPackages Get /api/v1/packages List packages
PackageApi PullPackage Get /api/v1/packages/{namespace}/{package}/{release}/{media_type}/pull Download the package
PackageApi PullPackageJson Get /api/v1/packages/{namespace}/{package}/{release}/{media_type}/pull/json Download the package
PackageApi ShowPackage Get /api/v1/packages/{namespace}/{package}/{release}/{media_type} Show a package
PackageApi ShowPackageManifests Get /api/v1/packages/{namespace}/{package}/{release} List all manifests for a package
PackageApi ShowPackageReleases Get /api/v1/packages/{namespace}/{package} List all releases for a package

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author