메소드 | 설명 | |
---|---|---|
CountAsync ( long blogId, ShopifySharp.Filters.ShopifyPublishableCountFilter filter = null ) : Task |
Gets a count of the articles belonging to the given blog.
|
|
CreateAsync ( long blogId, |
Creates a new article on the given blog.
|
|
DeleteAsync ( long blogId, long articleId ) : System.Threading.Tasks.Task |
Deletes an article with the given id.
|
|
GetAsync ( long blogId, long articleId, string fields = null ) : Task |
Gets an article with the given id.
|
|
ListAsync ( long blogId, |
Gets a list of up to 250 articles belonging to the given blog.
|
|
ListAuthorsAsync ( ) : Task |
Gets a list of all article authors.
|
|
ListTagsAsync ( int popular = null, int limit = null ) : Task |
Gets a list of all article tags.
|
|
ListTagsForBlogAsync ( long blogId, int popular = null, int limit = null ) : Task |
Gets a list of all article tags for the given blog.
|
|
ShopifyArticleService ( string myShopifyUrl, string shopAccessToken ) : RestSharp |
Creates a new instance of the service.
|
|
UpdateAsync ( long blogId, |
Updates an article.
|
public CountAsync ( long blogId, ShopifySharp.Filters.ShopifyPublishableCountFilter filter = null ) : Task |
||
blogId | long | The blog that the articles belong to. |
filter | ShopifySharp.Filters.ShopifyPublishableCountFilter | Options for filtering the result. |
리턴 | Task |
public CreateAsync ( long blogId, |
||
blogId | long | The blog that the article will belong to. |
article | The article being created. Id should be null. | |
metafields | IEnumerable |
Optional metafield data that can be returned by the |
리턴 | Task |
public DeleteAsync ( long blogId, long articleId ) : System.Threading.Tasks.Task | ||
blogId | long | The blog that the article belongs to. |
articleId | long | The article benig deleted. |
리턴 | System.Threading.Tasks.Task |
public GetAsync ( long blogId, long articleId, string fields = null ) : Task |
||
blogId | long | The blog that the article belongs to. |
articleId | long | The article's id. |
fields | string | A comma-separated list of fields to return. |
리턴 | Task |
public ListAsync ( long blogId, |
||
blogId | long | The blog that the articles belong to. |
filter | Options for filtering the result. | |
리턴 | Task |
public ListTagsAsync ( int popular = null, int limit = null ) : Task |
||
popular | int | A flag to indicate only to a certain number of the most popular tags. |
limit | int | The number of tags to return |
리턴 | Task |
public ListTagsForBlogAsync ( long blogId, int popular = null, int limit = null ) : Task |
||
blogId | long | The blog that the tags belong to. |
popular | int | A flag to indicate only to a certain number of the most popular tags. |
limit | int | The number of tags to return |
리턴 | Task |
public ShopifyArticleService ( string myShopifyUrl, string shopAccessToken ) : RestSharp | ||
myShopifyUrl | string | The shop's *.myshopify.com URL. |
shopAccessToken | string | An API access token for the shop. |
리턴 | RestSharp |
public UpdateAsync ( long blogId, |
||
blogId | long | The blog that the article belongs to. |
article | The article being updated. Id should not be null. | |
metafields | IEnumerable |
Optional metafield data that can be returned by the |
리턴 | Task |