EmbedApiClientInterface
Methods
createEmbed()
createEmbed(
data
,config
?):Promise
<SCEmbedType
>
Parameters
Parameter | Type |
---|---|
data | SCEmbedType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEmbedType
>
Source
getAllEmbeds()
getAllEmbeds(
params
?,config
?):Promise
<SCPaginatedResponse
<SCEmbedType
>>
Parameters
Parameter | Type |
---|---|
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEmbedType
>>
Source
getEmbedFeed()
getEmbedFeed(
embed_type
?,embed_id
?,config
?):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
embed_type ? | string |
embed_id ? | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Source
getSpecificEmbed()
getSpecificEmbed(
id
,config
?):Promise
<SCEmbedType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEmbedType
>
Source
getSpecificEmbedFeed()
getSpecificEmbedFeed(
id
,config
?):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Source
patchASpecificEmbed()
patchASpecificEmbed(
id
,data
?,config
?):Promise
<SCEmbedType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data ? | EmbedUpdateParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEmbedType
>
Source
searchEmbed()
searchEmbed(
params
?,config
?):Promise
<SCPaginatedResponse
<SCEmbedType
>>
Parameters
Parameter | Type |
---|---|
params ? | EmbedSearchParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEmbedType
>>
Source
updateASpecificEmbed()
updateASpecificEmbed(
id
,data
?,config
?):Promise
<SCEmbedType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data ? | EmbedUpdateParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEmbedType
>