remove_image: Remove image from Pastec index

Description Usage Arguments Value Examples

View source: R/pastec_api.R

Description

Remove a specific image from the Pastec index.

Usage

1
remove_image(image_id, server)

Arguments

image_id

Integer. An image id in the Pastec index.

server

Pastec server.

Value

On successful addition, silently returns list with server response.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
erasmus1 <- system.file("img", "RP-P-1906-1485.jpg", package = "PastecR")
ps <- open_pastec_server()
add_image(erasmus1, 1, ps)
str(remove_image(1, ps))
#> List of 2
#>  $ image_id: int 1
#>  $ type    : chr "IMAGE_REMOVED"

## End(Not run)

mdlincoln/PastecR documentation built on May 22, 2017, 2:13 a.m.