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 > Repositories > List Repositories

List Repositories

List all repositories of an account.


Table of Contents


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

Example Call

The following example will list all repositories added in an account. If you are looking for a specific repository, you can list all the repositories to locate the repository ID and perform a Show Repository

#!/bin/sh -e
curl -i -H X_API_VERSION:1.5 -b mycookie -X GET

Sample Output

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

<?xml version="1.0" encoding="UTF-8"?>
      <link rel="self" href="/api/repositories/13"/>
    <updated_at>2013/08/29 05:37:44 +0000</updated_at>
    <created_at>2009/09/16 05:28:40 +0000</created_at>
    <description>From JohnDoe - RightScale</description>
    <name>GitHub - rightscale/cookbooks_public</name>
      <succeeded_at>2013/08/29 05:37:44 +0000</succeeded_at>
      <action rel="cookbook_import_preview"/>
      <action rel="cookbook_import"/>
      <action rel="refetch"/>
      <action rel="resolve"/>
      <link rel="self" href="/api/repositories/120"/>
    <updated_at>2013/05/24 03:15:34 +0000</updated_at>
. . . 
You must to post a comment.
Last modified
12:16, 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.