API - Planyo Web Services - add_site_image

Estás aquí: Planyo » Ayuda » API » add_site_image

add_site_image

Description:

This function lets you add an image to your site.

Input:

site_id int optional
Site ID (required only when using a metasite API key)
image_url string required
URL of the image
title string optional
Optional image title
method string required
must be set to add_site_image
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

id int
Unique ID of the photo

API playground:

Click here to test this function in the API playground.