links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Home / APIs / REST / SaveLink
 
Description:
Saves the given link and returns a status reponse indicating either success or failure.
Required Parameters:
title
The title of the page to save.
href
The URL of the page to save. It must start with 'http://'.
accessType
Use 1 to make the link public and 0 to make it private.
Optional Parameters:
tags
Comma-separated list of tags.
urlNickname
An alternative, custom title.
note
A free-text note to go with the link.
Example Requests
http://www.simpy.com/simpy/api/rest/SaveLink.do?title=Example&href=http://example.com&accessType=1
http://www.simpy.com/simpy/api/rest/SaveLink.do?title=Example&href=http://foo.com&accessType=1&tags=foo,site
Example Response
<?xml version="1.0" encoding="UTF-8"?>

<status>
  <code>0</code>
  <message>Link saved successfully.</message>
</status>
Status Codes
0: Success
301: Entity storage error
500: Storage quota reached
Overview
· Base URL: ...simpy.com/simpy/api/rest