doc(rdr): adds new parameters for /link
This commit is contained in:
parent
08bba74c34
commit
2d549fb823
1 changed files with 6 additions and 1 deletions
|
@ -66,8 +66,13 @@ Generate a short link or a direct mirror link.
|
|||
Query Parameters:
|
||||
|
||||
- `url` (required): The URL for which a link needs to be generated.
|
||||
- `type` (optional): The type of link to generate. Valid values are "direct" or "short". If not provided, "direct" is used.
|
||||
- `type` (optional): The type of link to generate. Valid values are "direct", "short", or "getsitecopy". If not provided, "direct" is used.
|
||||
- `key` (optional): The API key of the pool. If not provided, the public API key is used.
|
||||
- `expiry` (optional): The duration that a GetSiteCopy article will remain published for. Valid values are "long" and "short". If not provided, "short" is used.
|
||||
- `footer_text` (optional): Defines the footer text to be used when publishing a GetSiteCopy article.
|
||||
- `footer_link` (optional): Defines the footer link to be used when publishing a GetSiteCopy article.
|
||||
|
||||
When neither `footer_text` or `footer_link` are specified, if a mirror link is available to the site's homepage, this will be used for the footer link.
|
||||
|
||||
Response:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue