PostitsApi: Agave Postits API operations

Description Usage Format Details Arguments Methods See Also

Description

PostitsApi Class

Usage

1
postits <- PostitsApi$new( apiClient = ApiClient$new(), cache = AgaveCache$new() )

Format

An object of class R6ClassGenerator of length 24.

Details

The PostIts service is a URL shortening service similar to bit.ly, goo.gl, and t.co. It allows you to create pre-authenticated, disposable URLs to any resource in the Agave Platform. You have control over the lifetime and number of times the URL can be redeemed, and you can expire a PostIt at any time. As with all Science API resources, a full set of events is available for you to track usage and integrate the lifecycle of a PostIt into external applications as needed.

The most common use of PostIts is to create URLs to files and folders you can share with others without having to upload them to a third-party service. For example, using the PostIts service, you can share the output(s) of an experimental run, distribute materials for a class, submit data to a third-party service, and serve up assets for a static website like Agave ToGo.

Other uses cases for the PostIts service include creating “drop” folders to which anyone with the link can upload data, allowing a job to be reproducibly rerun for peer review, publishing metadata for public consumption, publishing a canonical reference to your user profile. The possibilities go on and on. Anytime you need to share your science with your world, PostIts can help you.

Read more about the Postits API in the Agave Developer's Guide

Arguments

apiClient a rAgave::ApiClient instance preconfigured to speak to the Agave Platform.

cache an rAgave::AgaveCache instance pointing to the persistent auth cache file on disk.

responseType the default object type methods of this class should return. Valid values are:

Methods

$addPostit() Create a new PostIt

Usage

1
postits$addPostit$listPostits(body, naked, )

$deletePostit() Immediately invalidates this PostIt URL.

Usage

1
postits$deletePostit$listPostits(nonce, naked, )

$listPostits() List existing PostIts

Usage

1
2
postits$listPostits$listPostits(naked, limit, offset, search, )
postits$listPostits$listPostits(search=list("foo"="bar"))

See Also

rAgave::ApiClient rAgave::Agave rAgave::PostIt


agaveplatform/r-sdk documentation built on May 13, 2019, 8:20 a.m.