Skip to content

Latest commit

 

History

History
145 lines (128 loc) · 9.2 KB

README.md

File metadata and controls

145 lines (128 loc) · 9.2 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: 0.1.4
  • 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 http://localhost

Class Method HTTP request Description
GrafeasV1Beta1Api BatchCreateNotes Post /v1beta1/{parent=projects/*}/notes:batchCreate Creates new notes in batch.
GrafeasV1Beta1Api BatchCreateOccurrences Post /v1beta1/{parent=projects/*}/occurrences:batchCreate Creates new occurrences in batch.
GrafeasV1Beta1Api CreateNote Post /v1beta1/{parent=projects/*}/notes Creates a new note.
GrafeasV1Beta1Api CreateOccurrence Post /v1beta1/{parent=projects/*}/occurrences Creates a new occurrence.
GrafeasV1Beta1Api DeleteNote Delete /v1beta1/{name=projects//notes/} Deletes the specified note.
GrafeasV1Beta1Api DeleteOccurrence Delete /v1beta1/{name=projects//occurrences/} 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 GetNote Get /v1beta1/{name=projects//notes/} Gets the specified note.
GrafeasV1Beta1Api GetOccurrence Get /v1beta1/{name=projects//occurrences/} Gets the specified occurrence.
GrafeasV1Beta1Api GetOccurrenceNote Get /v1beta1/{name=projects//occurrences/}/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 GetVulnerabilityOccurrencesSummary Get /v1beta1/{parent=projects/*}/occurrences:vulnerabilitySummary Gets a summary of the number and severity of occurrences.
GrafeasV1Beta1Api ListNoteOccurrences Get /v1beta1/{name=projects//notes/}/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 ListNotes Get /v1beta1/{parent=projects/*}/notes Lists notes for the specified project.
GrafeasV1Beta1Api ListOccurrences Get /v1beta1/{parent=projects/*}/occurrences Lists occurrences for the specified project.
GrafeasV1Beta1Api UpdateNote Patch /v1beta1/{name=projects//notes/} Updates the specified note.
GrafeasV1Beta1Api UpdateOccurrence Patch /v1beta1/{name=projects//occurrences/} Updates the specified occurrence.

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author