Note: Please go to to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > RightScale API 1.5 > Examples > Cookbooks > Follow Cookbook

Follow Cookbook

Follow a cookbook that has been imported into an account.


Table of Contents


Prerequisite:  Example assumes you have previously authenticated, and your valid session cookie is in 'mycookie'.

Example Call

When a cookbook is being followed, the new or updated versions of that cookbook that are fetched into the repositories section will automatically get imported into your account. You can only follow cookbooks that are in the alternate namespace. For more information about alternate namespaces, see Primary and Alternate Namespaces.

To get a cookbook ID, you need to perform a List Cookbooks.


Note: Repositories are automatically re-scraped roughly once a day.

#!/bin/sh -e
curl -i -H X_API_VERSION:1.5 -b mycookie -X POST \
-d value=true \

Sample Output  

Note:  Truncated XML output without headers included (to save space).

HTTP/1.1 204 No Content
Server: nginx/1.0.14
Date: Fri, 06 Sep 2013 16:48:48 GMT
Connection: keep-alive
Status: 204 No Content
X-Runtime: 1958
X-Request-Uuid: 96817b26fb5649ca9e153ec2f7d86f80
Set-Cookie: rs_gbl=eNotkEuPgjAYAP8BzzaxPD5akj2ID1RWWRVFvRhpKayuPLRdReN_X032PjOHeaA9ctGpQS0kLsh9IH1Jz8i1AQzybCHFkUtMh1oUiEFb6Fu86IQIWzJCMXHaCSYkNTEDR2CaCBOAWdSxxaun0n-XmebbfeWRx5cLYVTlQYtQZQOIjVqet3yqVUm7M74IKyYjvcmhd1zhaJmFO7-3scSq0BNoGIHfisttvF4f8O2nHXx61QiLgfKzYixTmTSizL-m88nMO2XNLB2em75_hW1XRUF3dOknsazvd1scp1BrMhzvRDFPwmt9yHpF3sQdfIRJREZ-gPPA63y8l9zeS_acl7pQyHWYbT2ff0DYXdc%3D;; path=/; HttpOnly
Cache-Control: no-cache
You must to post a comment.
Last modified
12:14, 6 Sep 2013


This page has no custom tags.


This page has no classifications.



© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.