github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/clients/responsebody/docs/ResponseBodyServiceApi.md (about) 1 # \ResponseBodyServiceApi 2 3 All URIs are relative to *https://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**ResponseBodyServiceGetResponseBody**](ResponseBodyServiceApi.md#ResponseBodyServiceGetResponseBody) | **Get** /responsebody/{data} | 8 [**ResponseBodyServiceGetResponseBodyStream**](ResponseBodyServiceApi.md#ResponseBodyServiceGetResponseBodyStream) | **Get** /responsebody/stream/{data} | 9 [**ResponseBodyServiceListResponseBodies**](ResponseBodyServiceApi.md#ResponseBodyServiceListResponseBodies) | **Get** /responsebodies/{data} | 10 [**ResponseBodyServiceListResponseStrings**](ResponseBodyServiceApi.md#ResponseBodyServiceListResponseStrings) | **Get** /responsestrings/{data} | 11 12 13 # **ResponseBodyServiceGetResponseBody** 14 > ExamplepbResponseBodyOutResponse ResponseBodyServiceGetResponseBody(ctx, data) 15 16 17 ### Required Parameters 18 19 Name | Type | Description | Notes 20 ------------- | ------------- | ------------- | ------------- 21 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 22 **data** | **string**| | 23 24 ### Return type 25 26 [**ExamplepbResponseBodyOutResponse**](examplepbResponseBodyOutResponse.md) 27 28 ### Authorization 29 30 No authorization required 31 32 ### HTTP request headers 33 34 - **Content-Type**: application/json 35 - **Accept**: application/json 36 37 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 38 39 # **ResponseBodyServiceGetResponseBodyStream** 40 > StreamResultOfExamplepbResponseBodyOut ResponseBodyServiceGetResponseBodyStream(ctx, data) 41 42 43 ### Required Parameters 44 45 Name | Type | Description | Notes 46 ------------- | ------------- | ------------- | ------------- 47 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 48 **data** | **string**| | 49 50 ### Return type 51 52 [**StreamResultOfExamplepbResponseBodyOut**](Stream result of examplepbResponseBodyOut.md) 53 54 ### Authorization 55 56 No authorization required 57 58 ### HTTP request headers 59 60 - **Content-Type**: application/json 61 - **Accept**: application/json 62 63 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 64 65 # **ResponseBodyServiceListResponseBodies** 66 > []ExamplepbRepeatedResponseBodyOutResponse ResponseBodyServiceListResponseBodies(ctx, data) 67 68 69 ### Required Parameters 70 71 Name | Type | Description | Notes 72 ------------- | ------------- | ------------- | ------------- 73 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 74 **data** | **string**| | 75 76 ### Return type 77 78 [**[]ExamplepbRepeatedResponseBodyOutResponse**](examplepbRepeatedResponseBodyOutResponse.md) 79 80 ### Authorization 81 82 No authorization required 83 84 ### HTTP request headers 85 86 - **Content-Type**: application/json 87 - **Accept**: application/json 88 89 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 90 91 # **ResponseBodyServiceListResponseStrings** 92 > []string ResponseBodyServiceListResponseStrings(ctx, data) 93 94 95 ### Required Parameters 96 97 Name | Type | Description | Notes 98 ------------- | ------------- | ------------- | ------------- 99 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 100 **data** | **string**| | 101 102 ### Return type 103 104 **[]string** 105 106 ### Authorization 107 108 No authorization required 109 110 ### HTTP request headers 111 112 - **Content-Type**: application/json 113 - **Accept**: application/json 114 115 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 116