Sklik API

Sitelinks

sitelinks.update

Set sitelink attributes.

When you change sitelink's name, we'll create new sitelink for you and remove old one,
so check response ids attribute to apply your next changes.

Parameters

struct user {
string session

Session (as retrieved from client.login())

int userId

(optional) Managed user ID

}
array sitelinks (
struct {
int id

Sitelink ID

string name

Sitelink name

string url

Sitelink URL

}
)

Response

struct {
int status

Status code (see bellow)

string statusMessage

Status code description

string session

(optional) Refreshed session

array ids (
int

Updated sitelink ID

)
array diagnostics (

(optional) Various diagnostics(warnings, errors, other information)

struct {
...
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2020

www.seznam.cz Help Contact