| Class | FlickRaw::Flickr::Photosets |
| In: |
lib/flickraw.rb
|
| Parent: | FlickRaw::Request |
flickr.photosets.addPhoto request.
Add a photo to the end of an existing photoset.
Arguments
Error codes
The photoset id passed was not the id of avalid photoset owned by the calling user.
The photo id passed was not the id of a valid photo owned by the calling user.
The photo is already a member of the photoset.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def addPhoto(*args)
@flickr.call 'flickr.photosets.addPhoto', *args
end
flickr.photosets.create request.
Create a new photoset for the calling user.
Arguments
Error codes
No title parameter was passed in the request.
The primary photo id passed was not a valid photo id or does not belong to the calling user.
The user has reached their maximum number of photosets limit.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
Returns
<photoset id="1234" url="http: //www.flickr.com/photos/bees/sets/1234/" />
# Generated automatically from flickr api
def create(*args)
@flickr.call 'flickr.photosets.create', *args
end
flickr.photosets.delete request.
Delete a photoset.
Arguments
Error codes
The photoset id passed was not a valid photoset id or did not belong to the calling user.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def delete(*args)
@flickr.call 'flickr.photosets.delete', *args
end
flickr.photosets.editMeta request.
Modify the meta-data for a photoset.
Arguments
Error codes
The photoset id passed was not a valid photoset id or did not belong to the calling user.
No title parameter was passed in the request.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def editMeta(*args)
@flickr.call 'flickr.photosets.editMeta', *args
end
flickr.photosets.editPhotos request.
Modify the photos in a photoset. Use this method to add, remove and re-order photos.
Arguments
Error codes
The photoset id passed was not a valid photoset id or did not belong to the calling user.
One or more of the photo ids passed was not a valid photo id or does not belong to the calling user.
The primary photo id passed was not a valid photo id or does not belong to the calling user.
The primary photo id passed did not appear in the photo id list.
No photo ids were passed.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def editPhotos(*args)
@flickr.call 'flickr.photosets.editPhotos', *args
end
flickr.photosets.getContext request.
Returns next and previous photos for a photo in a set.
Arguments
Error codes
The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view.
The specified photo is not in the specified set.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
Returns
<prevphoto id="2980" secret="973da1e709"
title="boo!" url="/photos/bees/2980/" />
<nextphoto id="2985" secret="059b664012"
title="Amsterdam Amstel" url="/photos/bees/2985/" />
# Generated automatically from flickr api
def getContext(*args)
@flickr.call 'flickr.photosets.getContext', *args
end
flickr.photosets.getInfo request.
Gets information about a photoset.
Arguments
Error codes
The photoset id was not valid.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
Returns
<photoset id="46" owner="12037949754@N01" primary="2541" photos="4">
<title>my title</title>
<description>my description</description>
</photoset>
# Generated automatically from flickr api
def getInfo(*args)
@flickr.call 'flickr.photosets.getInfo', *args
end
flickr.photosets.getList request.
Returns the photosets belonging to the specified user.
Arguments
Error codes
The user NSID passed was not a valid user NSID and the calling user was not logged in.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
Returns
<photosets cancreate="1">
<photoset id="5" primary="2483" secret="abcdef"
server="8" photos="4" farm="1">
<title>Test</title>
<description>foo</description>
</photoset>
<photoset id="4" primary="1234" secret="832659"
server="3" photos="12" farm="1">
<title>My Set</title>
<description>bar</description>
</photoset>
</photosets>
# Generated automatically from flickr api
def getList(*args)
@flickr.call 'flickr.photosets.getList', *args
end
flickr.photosets.getPhotos request.
Get the list of photos in a set.
Arguments
<ul> <li>1 public photos</li> <li>2 private photos visible to friends</li> <li>3 private photos visible to family</li> <li>4 private photos visible to friends & family</li> <li>5 completely private photos</li> </ul>
Error codes
The photoset id passed was not a valid photoset id.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
Returns
<photoset id="4" primary="2483" page="1" per_page="500" pages="1" total="2">
<photo id="2484" secret="123456" server="1"
title="my photo" isprimary="0" />
<photo id="2483" secret="123456" server="1"
title="flickr rocks" isprimary="1" />
</photoset>
# Generated automatically from flickr api
def getPhotos(*args)
@flickr.call 'flickr.photosets.getPhotos', *args
end
flickr.photosets.orderSets request.
Set the order of photosets for the calling user.
Arguments
Error codes
One of the photoset ids passed was not the id of a valid photoset belonging to the calling user.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def orderSets(*args)
@flickr.call 'flickr.photosets.orderSets', *args
end
flickr.photosets.removePhoto request.
Remove a photo from a photoset.
Arguments
Error codes
The photoset id passed was not the id of avalid photoset owned by the calling user.
The photo id passed was not the id of a valid photo belonging to the calling user.
The photo is not a member of the photoset.
The passed signature was invalid.
The call required signing but no signature was sent.
The login details or auth token passed were invalid.
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
The API key passed was not valid or has expired.
The requested service is temporarily unavailable.
The requested response format was not found.
The requested method was not found.
The SOAP envelope send in the request could not be parsed.
The XML-RPC request document could not be parsed.
# Generated automatically from flickr api
def removePhoto(*args)
@flickr.call 'flickr.photosets.removePhoto', *args
end