Thinkific.Api.Contents (Thinkific API SDK v0.1.3)
API calls for all endpoints tagged Contents
.
Link to this section Summary
Functions
getContentByID Retrieves a Content
Link to this section Functions
Link to this function
get_content_by_id(connection, id, opts \\ [])
Specs
get_content_by_id(Tesla.Env.client(), float(), keyword()) :: {:ok, Thinkific.Model.ContentResponse.t()} | {:error, Tesla.Env.t()}
getContentByID Retrieves a Content
Parameters
- connection (Thinkific.Connection): Connection to server
- id (float()): ID of the Content in the form of an integer
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure