Pré-busca recursos.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| SiteId |
integer |
Não |
O ID do site, que pode ser obtido ao chamar a operação ListSites. |
123456789**** |
| Content |
array |
Não |
Os objetos de pré-busca. |
|
|
string |
Não |
Um único objeto de pré-busca.\n Importante O nome do host na URL deve ser um nome de registro DNS (RecordName) com Proxied=true no site atual especificado por SiteId. Você pode consultar os nomes dos registros chamando a operação ListRecords com o parâmetro SiteId. Se você usar um nome de domínio não configurado, o erro InvalidParameter.RecordNotBelongToSite será retornado. |
http://a.com/1.jpg?b=1 |
|
| Headers |
object |
Não |
O cabeçalho padrão incluído em uma solicitação de pré-busca é Accept-Encoding:gzip. Se desejar que a solicitação de pré-busca inclua outros cabeçalhos ou implemente a pré-busca de múltiplas cópias, use este parâmetro para especificar cabeçalhos de pré-busca personalizados. |
|
|
string |
Não |
O cabeçalho da solicitação. |
Accept-Encoding:gzip |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Esquema da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| TaskId |
string |
O ID da tarefa. Um ID de tarefa é retornado quando você cria uma tarefa de pré-busca. |
16401427840 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"TaskId": "16401427840"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | Please provide both a start time and an end time. |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | The end time you entered is earlier than the start time. Please check and try again. |
| 400 | DomainNameOverLimit | A maximum of 500 domains are supported for each request. | Only 500 domain names are supported at a time. Please reduce the number of domain names to request again. |
| 400 | InvalidTime | The query time cannot exceed the last 3 days. | The query time cannot exceed the last 3 days. |
| 400 | MissingParameter.ObjectType | The ObjectType parameter is required if DomainName or ObjectType is specified. | Specify the ObjectType parameter. |
| 400 | InvalidStationParameter | The specified Station is invalid. | The specified node parameter is invalid. |
| 400 | TooManyRequests | Too many requests.Please try again later. | Requests are too frequent, please try again later. |
| 400 | InvalidTaskId.Malformed | The specified taskId is invalid. | The specified task ID is invalid. |
| 400 | InvalidParameters.InvalidUrls | The specified urls are invalid. | The requested URL parameter is invalid. |
| 400 | QuotaExceeded | You attempts have exceeded the daily limit. | Exceeding the same day quota limit. The number of submissions today has been exhausted. You can query the number of times a quota can be used today through the quota API. |
| 400 | InvalidParameter.RecordNotBelongToSite | The record name passed in does not belong to the current site. | The record name passed in does not belong to the current site. |
| 400 | PreloadQueueFull | The prefetch queue is full. Try again later. | The prefetch queue is full, and you need to retry after the queue is processed. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.