// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: MPL-2.0

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: controller/api/services/v1/doc.proto

package services

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

var File_controller_api_services_v1_doc_proto protoreflect.FileDescriptor

const file_controller_api_services_v1_doc_proto_rawDesc = "" +
	"\n" +
	"$controller/api/services/v1/doc.proto\x12\x1acontroller.api.services.v1\x1a.protoc-gen-openapiv2/options/annotations.protoB\xbb\x1f\x92A\xea\x1e\x12\xbf\x1c\n" +
	"\x1cBoundary controller HTTP API\x12\xfa\x1aWelcome to the Boundary controller HTTP API documentation. This page provides a reference guide for using the Boundary controller API, a JSON-based HTTP API. The API implements commonly seen HTTP API patterns for status codes, paths, and errors. See the [API overview](https://developer.hashicorp.com/boundary/docs/api-clients/api) for more information.\n" +
	"\n" +
	"Before you read this page, it is useful to understand Boundary's [domain model](https://developer.hashicorp.com/boundary/docs/concepts/domain-model) and to be aware of the terminology used here. To get started, search for the service you want to interact with in the sidebar to the left. Each resource in Boundary, such as accounts and credential stores, has its own service. Each service contains all the API endpoints for the resource.\n" +
	"## Status codes\n" +
	"- `2XX`: Boundary returns a code between `200` and `299` on success. Generally this is `200`, but implementations should be prepared to accept any `2XX` status code as indicating success. If a call returns a `2XX` code that is not `200`, it follows well-understood semantics for those status codes.\n" +
	"- `400`: Boundary returns `400` when a command cannot be completed due to invalid user input, except for a properly-formatted identifier that does not map to an existing resource, which returns a `404` as discussed below.\n" +
	"- `401`: Boundary returns `401` if no authentication token is provided or if the provided token is invalid. A valid token that simply does not have permission for a resource returns a `403` instead. A token that is invalid or missing, but where the anonymous user (`u_anon`) is able to successfully perform the action, will not return a `401` but instead will return the result of the action.\n" +
	"- `403`: Boundary returns `403` if a provided token was valid but does not have the grants required to perform the requested action.\n" +
	"- `404`: Boundary returns `404` if a resource cannot be found. Note that this happens _prior_ to authentication/authorization checking in nearly all cases as the resource information (such as its scope, available actions, etc.) is a required part of that check. As a result, an action against a resource that does not exist returns a `404` instead of a `401` or `403`. While this could be considered an information leak, since IDs are randomly generated and this only discloses whether an ID is valid, it's tolerable as it allows for far simpler and more robust client implementation.\n" +
	"- `405`: Boundary returns a `405` to indicate that the method (HTTP verb or custom action) is not implemented for the given resource.\n" +
	"- `429`: Boundary returns a `429` if any of the API rate limit quotas have been exhausted for the resource and action. It includes the `Retry-After` header so that the client knows how long to wait before making a new request.\n" +
	"- `500`: Boundary returns `500` if an error occurred that is not (directly) tied to invalid user input. If a `500` is generated, information about the error is logged to Boundary's server log but is not generally provided to the client.\n" +
	"- `503`: Boundary returns a `503` if it is unable to store a quota due to the API rate limit being exceeded. It includes the `Retry-After` header so that the client knows how long to wait before making a new request.\n" +
	"## List pagination\n" +
	"Boundary uses [API pagination](https://developer.hashicorp.com/boundary/docs/api-clients/api/pagination) to support searching and filtering large lists of results efficiently.\"5\n" +
	"\x12HashiCorp Boundary\x12\x1fhttps://www.boundaryproject.io/*V\n" +
	"\x1bBusiness Source License 1.1\x127https://github.com/hashicorp/boundary/blob/main/LICENSE2\x13placeholder-version\x1a\x1ayour-boundary-hostname.com*\x02\x02\x012\x10application/json:\x10application/jsonRb\n" +
	"\adefault\x12W\n" +
	"7Returned when there is an error processing the request.\x12\x1c\n" +
	"\x1a\x1a\x18.controller.api.v1.ErrorZ#\n" +
	"!\n" +
	"\n" +
	"ApiKeyAuth\x12\x13\b\x02\x1a\rAuthorization \x02b\x10\n" +
	"\x0e\n" +
	"\n" +
	"ApiKeyAuth\x12\x00rG\n" +
	"\x16Boundary documentation\x12-https://developer.hashicorp.com/boundary/docsZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"

var file_controller_api_services_v1_doc_proto_goTypes = []any{}
var file_controller_api_services_v1_doc_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_controller_api_services_v1_doc_proto_init() }
func file_controller_api_services_v1_doc_proto_init() {
	if File_controller_api_services_v1_doc_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_doc_proto_rawDesc), len(file_controller_api_services_v1_doc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_controller_api_services_v1_doc_proto_goTypes,
		DependencyIndexes: file_controller_api_services_v1_doc_proto_depIdxs,
	}.Build()
	File_controller_api_services_v1_doc_proto = out.File
	file_controller_api_services_v1_doc_proto_goTypes = nil
	file_controller_api_services_v1_doc_proto_depIdxs = nil
}
