Class HttpApi
Inheritance
System.Object
HttpApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Inputs.Http
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class HttpApi
Constructors
HttpApi(IBitmovinApiClientFactory)
Declaration
public HttpApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of HttpApi
Declaration
public static BitmovinApiBuilder<HttpApi> Builder { get; }
Property Value
| Type | Description |
|---|---|
| BitmovinApiBuilder<HttpApi> |
Customdata
Declaration
public CustomdataApi Customdata { get; }
Property Value
| Type | Description |
|---|---|
| CustomdataApi |
Methods
CreateAsync(HttpInput)
Create HTTP Input
Declaration
public Task<HttpInput> CreateAsync(HttpInput httpInput)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpInput | httpInput | The HTTP input to be created |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<HttpInput> |
DeleteAsync(String)
Delete HTTP Input
Declaration
public Task<HttpInput> DeleteAsync(string inputId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | inputId | Id of the input (required) |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<HttpInput> |
GetAsync(String)
HTTP Input Details
Declaration
public Task<HttpInput> GetAsync(string inputId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | inputId | Id of the input (required) |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<HttpInput> |
ListAsync(Func<HttpApi.ListQueryParams, HttpApi.ListQueryParams>[])
List HTTP Inputs
Declaration
public Task<PaginationResponse<HttpInput>> ListAsync(params Func<HttpApi.ListQueryParams, HttpApi.ListQueryParams>[] queryParams)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<HttpApi.ListQueryParams, HttpApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<PaginationResponse<HttpInput>> |