Skip to content

Latest commit

 

History

History
173 lines (156 loc) · 10.8 KB

README.md

File metadata and controls

173 lines (156 loc) · 10.8 KB

Go API client for grafeas

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

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: version not set
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

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

import "./grafeas"

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
GrafeasV1Beta1Api GrafeasV1Beta1BatchCreateNotes Post /v1beta1/{parent}/notes:batchCreate Creates new notes in batch.
GrafeasV1Beta1Api GrafeasV1Beta1BatchCreateOccurrences Post /v1beta1/{parent}/occurrences:batchCreate Creates new occurrences in batch.
GrafeasV1Beta1Api GrafeasV1Beta1CreateNote Post /v1beta1/{parent}/notes Creates a new note.
GrafeasV1Beta1Api GrafeasV1Beta1CreateOccurrence Post /v1beta1/{parent}/occurrences Creates a new occurrence.
GrafeasV1Beta1Api GrafeasV1Beta1DeleteNote Delete /v1beta1/{name_1} Deletes the specified note.
GrafeasV1Beta1Api GrafeasV1Beta1DeleteOccurrence Delete /v1beta1/{name} Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
GrafeasV1Beta1Api GrafeasV1Beta1GetNote Get /v1beta1/{name_1} Gets the specified note.
GrafeasV1Beta1Api GrafeasV1Beta1GetOccurrence Get /v1beta1/{name} Gets the specified occurrence.
GrafeasV1Beta1Api GrafeasV1Beta1GetOccurrenceNote Get /v1beta1/{name}/notes Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
GrafeasV1Beta1Api GrafeasV1Beta1GetVulnerabilityOccurrencesSummary Get /v1beta1/{parent}/occurrences:vulnerabilitySummary Gets a summary of the number and severity of occurrences.
GrafeasV1Beta1Api GrafeasV1Beta1ListNoteOccurrences Get /v1beta1/{name}/occurrences Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
GrafeasV1Beta1Api GrafeasV1Beta1ListNotes Get /v1beta1/{parent}/notes Lists notes for the specified project.
GrafeasV1Beta1Api GrafeasV1Beta1ListOccurrences Get /v1beta1/{parent}/occurrences Lists occurrences for the specified project.
GrafeasV1Beta1Api GrafeasV1Beta1UpdateNote Patch /v1beta1/{name_1} Updates the specified note.
GrafeasV1Beta1Api GrafeasV1Beta1UpdateOccurrence Patch /v1beta1/{name} Updates the specified occurrence.

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author