Categorygithub.com/ortelius/scec-environment
modulepackage
0.0.0-20241212063937-e5f3434c32cf
Repository: https://github.com/ortelius/scec-environment.git
Documentation: pkg.go.dev

# README

Ortelius v11 Environment Microservice

Version 11.0.0

RestAPI for the Environment Object Release license

Build MegaLinter CodeQL OpenSSF-Scorecard

Discord

Path Table

MethodPathDescription
GET/msapi/environmentGet a List of Environments
POST/msapi/environmentCreate a Environment
GET/msapi/environment/:keyGet a Environment

Reference Table

NamePathDescription

Path Details


[GET]/msapi/environment

  • Summary
    Get a List of Environments

  • Description
    Get a list of environments for the user.

Responses

  • 200 OK

[POST]/msapi/environment

  • Summary
    Create a Environment

  • Description
    Create a new Environment and persist it

Responses

  • 200 OK

[GET]/msapi/environment/:key

  • Summary
    Get a Environment

  • Description
    Get a environment based on the _key or name.

Responses

  • 200 OK

References

# Packages

Package docs Code generated by swaggo/swag.

# Functions

GetEnvironment godoc @Summary Get a Environment @Description Get a environment based on the _key or name.
GetEnvironments godoc @Summary Get a List of Environments @Description Get a list of environments for the user.
NewEnvironment godoc @Summary Create a Environment @Description Create a new Environment and persist it @Tags Environment @Accept application/json @Produce json @Success 200 @Router /msapi/environment [post].