Skip to content

Latest commit

 

History

History
976 lines (622 loc) · 26.3 KB

File metadata and controls

976 lines (622 loc) · 26.3 KB

postiz_python_client.MarketplaceApi

All URIs are relative to http://localhost

Method HTTP request Description
marketplace_controller_add_items POST /marketplace/item
marketplace_controller_approve POST /marketplace/posts/{id}/approve
marketplace_controller_cancel POST /marketplace/posts/{id}/cancel
marketplace_controller_change_active POST /marketplace/active
marketplace_controller_change_audience POST /marketplace/audience
marketplace_controller_complete_order POST /marketplace/offer/{id}/complete
marketplace_controller_connect_bank_account GET /marketplace/bank
marketplace_controller_create_conversation POST /marketplace/conversation
marketplace_controller_create_offer POST /marketplace/offer
marketplace_controller_get_account GET /marketplace/account
marketplace_controller_get_influencers POST /marketplace
marketplace_controller_get_items GET /marketplace/item
marketplace_controller_get_orders GET /marketplace/orders
marketplace_controller_pay_order POST /marketplace/orders/{id}/payment
marketplace_controller_post GET /marketplace/posts/{id}
marketplace_controller_revision POST /marketplace/posts/{id}/revision

marketplace_controller_add_items

marketplace_controller_add_items(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_add_items(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_add_items: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_approve

marketplace_controller_approve(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_approve(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_approve: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_cancel

marketplace_controller_cancel(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_cancel(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_cancel: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_change_active

marketplace_controller_change_active(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_change_active(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_change_active: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_change_audience

marketplace_controller_change_audience(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_change_audience(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_change_audience: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_complete_order

marketplace_controller_complete_order(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_complete_order(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_complete_order: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_connect_bank_account

marketplace_controller_connect_bank_account(country)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    country = 'country_example' # str | 

    try:
        api_instance.marketplace_controller_connect_bank_account(country)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_connect_bank_account: %s\n" % e)

Parameters

Name Type Description Notes
country str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_create_conversation

marketplace_controller_create_conversation(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_create_conversation(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_create_conversation: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_create_offer

marketplace_controller_create_offer(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_create_offer(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_create_offer: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_get_account

marketplace_controller_get_account()

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)

    try:
        api_instance.marketplace_controller_get_account()
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_get_account: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_get_influencers

marketplace_controller_get_influencers(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    body = None # object | 

    try:
        api_instance.marketplace_controller_get_influencers(body)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_get_influencers: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_get_items

marketplace_controller_get_items()

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)

    try:
        api_instance.marketplace_controller_get_items()
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_get_items: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_get_orders

marketplace_controller_get_orders(type)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    type = 'type_example' # str | 

    try:
        api_instance.marketplace_controller_get_orders(type)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_get_orders: %s\n" % e)

Parameters

Name Type Description Notes
type str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_pay_order

marketplace_controller_pay_order(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_pay_order(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_pay_order: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_post

marketplace_controller_post(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_post(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_post: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

marketplace_controller_revision

marketplace_controller_revision(id)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.MarketplaceApi(api_client)
    id = 'id_example' # str | 

    try:
        api_instance.marketplace_controller_revision(id)
    except Exception as e:
        print("Exception when calling MarketplaceApi->marketplace_controller_revision: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
201 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]