Commit 442bac30 authored by Paulina Czempiel's avatar Paulina Czempiel
Browse files

get_relationship_between_accounts, get_post_header, get_ranked_posts openapi

parent 6b5ddd37
......@@ -32,11 +32,20 @@ docs/GetPayoutStats.md
docs/GetPayoutStatsRequest.md
docs/GetPayoutStatsRequestParams.md
docs/GetPost.md
docs/GetPostHeader.md
docs/GetPostHeaderRequest.md
docs/GetPostHeaderRequestParams.md
docs/GetPostRequest.md
docs/GetPostRequestParams.md
docs/GetPostStats.md
docs/GetProfileRequest.md
docs/GetProfileRequestParams.md
docs/GetRankedPosts.md
docs/GetRankedPostsRequest.md
docs/GetRankedPostsRequestParams.md
docs/GetRelationshipBetweenAccounts.md
docs/GetRelationshipBetweenAccountsRequest.md
docs/GetRelationshipBetweenAccountsRequestParams.md
docs/ListAllSubscriptions.md
docs/ListAllSubscriptionsRequest.md
docs/ListAllSubscriptionsRequestParams.md
......@@ -95,11 +104,20 @@ openapi_client/model/get_payout_stats.py
openapi_client/model/get_payout_stats_request.py
openapi_client/model/get_payout_stats_request_params.py
openapi_client/model/get_post.py
openapi_client/model/get_post_header.py
openapi_client/model/get_post_header_request.py
openapi_client/model/get_post_header_request_params.py
openapi_client/model/get_post_request.py
openapi_client/model/get_post_request_params.py
openapi_client/model/get_post_stats.py
openapi_client/model/get_profile_request.py
openapi_client/model/get_profile_request_params.py
openapi_client/model/get_ranked_posts.py
openapi_client/model/get_ranked_posts_request.py
openapi_client/model/get_ranked_posts_request_params.py
openapi_client/model/get_relationship_between_accounts.py
openapi_client/model/get_relationship_between_accounts_request.py
openapi_client/model/get_relationship_between_accounts_request_params.py
openapi_client/model/list_all_subscriptions.py
openapi_client/model/list_all_subscriptions_request.py
openapi_client/model/list_all_subscriptions_request_params.py
......@@ -129,10 +147,7 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_discussion.py
test/test_get_post.py
test/test_get_post_request.py
test/test_get_post_request_params.py
test/test_get_post_stats.py
test/test_string_of_discussion.py
test/test_get_relationship_between_accounts.py
test/test_get_relationship_between_accounts_request.py
test/test_get_relationship_between_accounts_request_params.py
tox.ini
......@@ -58,8 +58,11 @@ from openapi_client.model.get_account_posts_request import GetAccountPostsReques
from openapi_client.model.get_discussion_request import GetDiscussionRequest
from openapi_client.model.get_follow_list_request import GetFollowListRequest
from openapi_client.model.get_payout_stats_request import GetPayoutStatsRequest
from openapi_client.model.get_post_header_request import GetPostHeaderRequest
from openapi_client.model.get_post_request import GetPostRequest
from openapi_client.model.get_profile_request import GetProfileRequest
from openapi_client.model.get_ranked_posts_request import GetRankedPostsRequest
from openapi_client.model.get_relationship_between_accounts_request import GetRelationshipBetweenAccountsRequest
from openapi_client.model.list_all_subscriptions_request import ListAllSubscriptionsRequest
from openapi_client.model.list_communites_request import ListCommunitesRequest
from openapi_client.model.list_community_roles_request import ListCommunityRolesRequest
......@@ -111,7 +114,10 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**bridge_get_follow_list**](docs/DefaultApi.md#bridge_get_follow_list) | **POST** /#bridge.get_follow_list |
*DefaultApi* | [**bridge_get_payout_stats**](docs/DefaultApi.md#bridge_get_payout_stats) | **POST** /#bridge.get_payout_stats |
*DefaultApi* | [**bridge_get_post**](docs/DefaultApi.md#bridge_get_post) | **POST** /#bridge.get_post |
*DefaultApi* | [**bridge_get_post_header**](docs/DefaultApi.md#bridge_get_post_header) | **POST** /#bridge.get_post_header |
*DefaultApi* | [**bridge_get_profile**](docs/DefaultApi.md#bridge_get_profile) | **POST** /#bridge.get_profile |
*DefaultApi* | [**bridge_get_ranked_posts**](docs/DefaultApi.md#bridge_get_ranked_posts) | **POST** /#bridge.get_ranked_posts |
*DefaultApi* | [**bridge_get_relationship_between_accounts**](docs/DefaultApi.md#bridge_get_relationship_between_accounts) | **POST** /#bridge.get_relationship_between_accounts |
*DefaultApi* | [**bridge_list_all_subscriptions**](docs/DefaultApi.md#bridge_list_all_subscriptions) | **POST** /#bridge.list_all_subscriptions |
*DefaultApi* | [**bridge_list_communities**](docs/DefaultApi.md#bridge_list_communities) | **POST** /#bridge.list_communities |
*DefaultApi* | [**bridge_list_community_roles**](docs/DefaultApi.md#bridge_list_community_roles) | **POST** /#bridge.list_community_roles |
......@@ -150,11 +156,20 @@ Class | Method | HTTP request | Description
- [GetPayoutStatsRequest](docs/GetPayoutStatsRequest.md)
- [GetPayoutStatsRequestParams](docs/GetPayoutStatsRequestParams.md)
- [GetPost](docs/GetPost.md)
- [GetPostHeader](docs/GetPostHeader.md)
- [GetPostHeaderRequest](docs/GetPostHeaderRequest.md)
- [GetPostHeaderRequestParams](docs/GetPostHeaderRequestParams.md)
- [GetPostRequest](docs/GetPostRequest.md)
- [GetPostRequestParams](docs/GetPostRequestParams.md)
- [GetPostStats](docs/GetPostStats.md)
- [GetProfileRequest](docs/GetProfileRequest.md)
- [GetProfileRequestParams](docs/GetProfileRequestParams.md)
- [GetRankedPosts](docs/GetRankedPosts.md)
- [GetRankedPostsRequest](docs/GetRankedPostsRequest.md)
- [GetRankedPostsRequestParams](docs/GetRankedPostsRequestParams.md)
- [GetRelationshipBetweenAccounts](docs/GetRelationshipBetweenAccounts.md)
- [GetRelationshipBetweenAccountsRequest](docs/GetRelationshipBetweenAccountsRequest.md)
- [GetRelationshipBetweenAccountsRequestParams](docs/GetRelationshipBetweenAccountsRequestParams.md)
- [ListAllSubscriptions](docs/ListAllSubscriptions.md)
- [ListAllSubscriptionsRequest](docs/ListAllSubscriptionsRequest.md)
- [ListAllSubscriptionsRequestParams](docs/ListAllSubscriptionsRequestParams.md)
......
......@@ -13,7 +13,10 @@ Method | HTTP request | Description
[**bridge_get_follow_list**](DefaultApi.md#bridge_get_follow_list) | **POST** /#bridge.get_follow_list |
[**bridge_get_payout_stats**](DefaultApi.md#bridge_get_payout_stats) | **POST** /#bridge.get_payout_stats |
[**bridge_get_post**](DefaultApi.md#bridge_get_post) | **POST** /#bridge.get_post |
[**bridge_get_post_header**](DefaultApi.md#bridge_get_post_header) | **POST** /#bridge.get_post_header |
[**bridge_get_profile**](DefaultApi.md#bridge_get_profile) | **POST** /#bridge.get_profile |
[**bridge_get_ranked_posts**](DefaultApi.md#bridge_get_ranked_posts) | **POST** /#bridge.get_ranked_posts |
[**bridge_get_relationship_between_accounts**](DefaultApi.md#bridge_get_relationship_between_accounts) | **POST** /#bridge.get_relationship_between_accounts |
[**bridge_list_all_subscriptions**](DefaultApi.md#bridge_list_all_subscriptions) | **POST** /#bridge.list_all_subscriptions |
[**bridge_list_communities**](DefaultApi.md#bridge_list_communities) | **POST** /#bridge.list_communities |
[**bridge_list_community_roles**](DefaultApi.md#bridge_list_community_roles) | **POST** /#bridge.list_community_roles |
......@@ -614,7 +617,7 @@ with openapi_client.ApiClient() as api_client:
api_instance = default_api.DefaultApi(api_client)
get_post_request = GetPostRequest(
jsonrpc="2.0",
method="bridge.get_follow_list",
method="bridge.get_post",
params=GetPostRequestParams(
author="blocktrades",
permlink="witness-report-for-blocktrades-for-last-week-of-august",
......@@ -657,6 +660,76 @@ No authorization required
[[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)
# **bridge_get_post_header**
> object bridge_get_post_header(get_post_header_request)
Gives very basic information on given post.
### Example
```python
import time
import openapi_client
from openapi_client.api import default_api
from openapi_client.model.get_post_header_request import GetPostHeaderRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "http://localhost:8080"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
get_post_header_request = GetPostHeaderRequest(
jsonrpc="2.0",
method="bridge.get_post_header",
params=GetPostHeaderRequestParams(
author="blocktrades",
permlink="witness-report-for-blocktrades-for-last-week-of-august",
),
id=1,
) # GetPostHeaderRequest | required: author, permlink
# example passing only required values which don't have defaults set
try:
api_response = api_instance.bridge_get_post_header(get_post_header_request)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling DefaultApi->bridge_get_post_header: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**get_post_header_request** | [**GetPostHeaderRequest**](GetPostHeaderRequest.md)| required: author, permlink |
### Return type
**object**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Selected post description | - |
[[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)
# **bridge_get_profile**
> object bridge_get_profile(get_profile_request)
......@@ -727,6 +800,151 @@ No authorization required
[[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)
# **bridge_get_ranked_posts**
> object bridge_get_ranked_posts(get_ranked_posts_request)
Lists posts depending on given ranking criteria and filters.
### Example
```python
import time
import openapi_client
from openapi_client.api import default_api
from openapi_client.model.get_ranked_posts_request import GetRankedPostsRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "http://localhost:8080"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
get_ranked_posts_request = GetRankedPostsRequest(
jsonrpc="2.0",
method="bridge.get_post",
params=GetRankedPostsRequestParams(
sort="hot",
start_author="start_author_example",
start_permlink="start_permlink_example",
limit=20,
tag="my",
observer="blocktrades",
),
id=1,
) # GetRankedPostsRequest | required: sort, optional: start_author, start_permlink, limit, tag, observer
# example passing only required values which don't have defaults set
try:
api_response = api_instance.bridge_get_ranked_posts(get_ranked_posts_request)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling DefaultApi->bridge_get_ranked_posts: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**get_ranked_posts_request** | [**GetRankedPostsRequest**](GetRankedPostsRequest.md)| required: sort, optional: start_author, start_permlink, limit, tag, observer |
### Return type
**object**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Selected post | - |
[[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)
# **bridge_get_relationship_between_accounts**
> object bridge_get_relationship_between_accounts(get_relationship_between_accounts_request)
Tells what relations connect given accounts from the perspective of first account.
### Example
```python
import time
import openapi_client
from openapi_client.api import default_api
from openapi_client.model.get_relationship_between_accounts_request import GetRelationshipBetweenAccountsRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "http://localhost:8080"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
get_relationship_between_accounts_request = GetRelationshipBetweenAccountsRequest(
jsonrpc="2.0",
method="bridge.get_relationship_between_accounts",
params=GetRelationshipBetweenAccountsRequestParams(
acccount1="blocktrades",
account1="gtg",
observer="blocktrades",
),
id=1,
) # GetRelationshipBetweenAccountsRequest | required: account1, account2, optional: observer
# example passing only required values which don't have defaults set
try:
api_response = api_instance.bridge_get_relationship_between_accounts(get_relationship_between_accounts_request)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling DefaultApi->bridge_get_relationship_between_accounts: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**get_relationship_between_accounts_request** | [**GetRelationshipBetweenAccountsRequest**](GetRelationshipBetweenAccountsRequest.md)| required: account1, account2, optional: observer |
### Return type
**object**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Account relations | - |
[[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)
# **bridge_list_all_subscriptions**
> object bridge_list_all_subscriptions(list_all_subscriptions_request)
......
# GetDiscussion
discussion
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | [**[StringOfDiscussion]**](StringOfDiscussion.md) | discussion |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......
......@@ -4,7 +4,9 @@ object with payout related fields
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **[object]** | object with payout related fields |
**blogs** | **float** | |
**items** | **[object]** | |
**total** | **float** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......
# GetPost
object with payout related fields
object with post related fields
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
......
# GetPostHeader
object with basic post description
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**author** | **str** | account name of the post's author |
**category** | **str** | post category |
**depth** | **int** | nesting level |
**permlink** | **str** | post's permlink |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetPostHeaderRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**params** | [**GetPostHeaderRequestParams**](GetPostHeaderRequestParams.md) | |
**jsonrpc** | **str** | | defaults to "2.0"
**method** | **str** | | defaults to "bridge.get_post_header"
**id** | **int** | | defaults to 1
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetPostHeaderRequestParams
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**author** | **str** | name of the post author's account |
**permlink** | **str** | permlink of the valid author's post |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......@@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**params** | [**GetPostRequestParams**](GetPostRequestParams.md) | |
**jsonrpc** | **str** | | defaults to "2.0"
**method** | **str** | | defaults to "bridge.get_follow_list"
**method** | **str** | | defaults to "bridge.get_post"
**id** | **int** | | defaults to 1
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......
# GetRankedPosts
object with post related fields
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | [**[Discussion]**](Discussion.md) | object with post related fields |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetRankedPostsRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**params** | [**GetRankedPostsRequestParams**](GetRankedPostsRequestParams.md) | |
**jsonrpc** | **str** | | defaults to "2.0"
**method** | **str** | | defaults to "bridge.get_post"
**id** | **int** | | defaults to 1
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetRankedPostsRequestParams
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**sort** | **str** | ### Sort order: trending - [if tag is community pinned posts first], top posts with highest trending score first; paging cuts out given and more trending posts hot - top posts from blogs of accounts that given account is following ranked by creation/reblog time, not older than last month created - [if tag is community pinned posts first], newest top posts first (grayed out not considered); paging cuts out given and newer posts promoted - promoted posts with highest promotion fund first; paging cuts out given and more promoted posts payout - only posts that will cashout between 12 and 36 hours from head block are considered, posts with higher pending payout first; paging cuts out given and higher payout posts payout_comments - only replies are considered, posts with higher pending payout first; paging cuts out given and higher payout posts muted - grayed out posts that are to receive nonzero payout are considered, posts with higher pending payout first; paging cuts out given and higher payout posts |
**start_author** | **str** | author account name, if passed must be passed with start_permlink | [optional]
**start_permlink** | **str** | post permlink of given author, point to valid post, paging mechanism | [optional]
**limit** | **int** | | [optional] if omitted the server will use the default value of 20
**tag** | **str** | my (with observer) - turns on filtering for posts within communities subscribed to by observer all - same as default none/blank hive-{number} - has to point to valid community; turns on filtering for posts within given community {tag} - has to point to valid tag; turns on filtering for posts with given tag (given category in case of 'payout' and 'payout_comments') | [optional]
**observer** | **str** | mandatory for \"my\" tag, points to valid account; when given supplements blacklists stats in posts and filters out posts of muted authors (with exception of \"muted\" sort) | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetRelationshipBetweenAccounts
object with relationship description
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**blacklists** | **bool** | |
**follows** | **bool** | |
**follow_blacklists** | **bool** | |
**follow_muted** | **bool** | |
**ignores** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetRelationshipBetweenAccountsRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**params** | [**GetRelationshipBetweenAccountsRequestParams**](GetRelationshipBetweenAccountsRequestParams.md) | |
**jsonrpc** | **str** | | defaults to "2.0"
**method** | **str** | | defaults to "bridge.get_relationship_between_accounts"
**id** | **int** | | defaults to 1
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
# GetRelationshipBetweenAccountsRequestParams
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**acccount1** | **str** | valid account name |
**account1** | **str** | valid account name | [optional]
**observer** | **str** | ignored (most likely not yet implemented extra for supplementing blacklist information) | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......@@ -29,8 +29,11 @@ from openapi_client.model.get_account_posts_request import GetAccountPostsReques
from openapi_client.model.get_discussion_request import GetDiscussionRequest
from openapi_client.model.get_follow_list_request import GetFollowListRequest
from openapi_client.model.get_payout_stats_request import GetPayoutStatsRequest
from openapi_client.model.get_post_header_request import GetPostHeaderRequest
from openapi_client.model.get_post_request import GetPostRequest
from openapi_client.model.get_profile_request import GetProfileRequest
from openapi_client.model.get_ranked_posts_request import GetRankedPostsRequest
from openapi_client.model.get_relationship_between_accounts_request import GetRelationshipBetweenAccountsRequest
from openapi_client.model.list_all_subscriptions_request import ListAllSubscriptionsRequest
from openapi_client.model.list_communites_request import ListCommunitesRequest
from openapi_client.model.list_community_roles_request import ListCommunityRolesRequest
......@@ -1112,6 +1115,124 @@ class DefaultApi(object):
callable=__bridge_get_post
)
def __bridge_get_post_header(
self,
get_post_header_request,
**kwargs
):
"""bridge_get_post_header # noqa: E501
Gives very basic information on given post. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.bridge_get_post_header(get_post_header_request, async_req=True)
>>> result = thread.get()
Args:
get_post_header_request (GetPostHeaderRequest): required: author, permlink
Keyword Args:
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (float/tuple): timeout setting for this request. If one
number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
object
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['get_post_header_request'] = \
get_post_header_request
return self.call_with_http_info(**kwargs)
self.bridge_get_post_header = Endpoint(
settings={
'response_type': (object,),
'auth': [],
'endpoint_path': '/#bridge.get_post_header',
'operation_id': 'bridge_get_post_header',
'http_method': 'POST'