Rackspace Cloud API Documentation - Latest Commentshttp://rc-api-docs.disqus.com/enTue, 03 Mar 2015 15:47:02 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1885781401<p>Hi, TheDrizzle,<br>Sorry for the confusion for you and Steve. Indeed, [ ...object content... ] should be removed from the Example 5.33 to avoid this confusion. This change will be published in the next publish cycle. After you create your Cloud Files container, you can upload a local file by specifying the full path to the local file (replacing MyObject in the example) in your Cloud Files request.<br>Hope this helps,<br>Catherine</p>cyrichardsonTue, 03 Mar 2015 15:47:02 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1885692270<p>I checked out the links and they don't quite answer Steve's (and my) question. Where does the file/object data you are trying to send get set in the PUT request? Example 5.33 shows the [ ...object content... ] being in the body of the request, but right below it, the text says "This operation does not accept a request body." Could you clarify this for me? Thanks.</p>TheDrizzleTue, 03 Mar 2015 14:59:01 -0000Re: 7.1. Container Access Control Lists - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/Container_ACLs-d1e2222.html#comment-1883535904<p>Hi, tiago,<br>Just heard back from dev. They tested and this is working <br>for them. They suggested that you contact support Toll Free at <br>1-800-961-4454 or International 1-210-447-4000.<br>Regards,<br>Catherine</p>cyrichardsonMon, 02 Mar 2015 11:22:30 -0000Re: Create Stack using a Resource Group with cURL - Rackspace Cloud Orchestration Getting Started Guide - API v1.0http://docs.rackspace.com/orchestration/api/v1/orchestration-getting-started/content/Create_Stack_W_RGroup_CURL.html#comment-1883468216<p>Hello Ddev,</p><p>Development says that you can do a resource-list with ResourceGroup ID and that shows all the nested stack resources.<br>(ResourceGroup is a nested stack.)</p><p>The following example describes the steps involved.</p><p> Assume you created a stack with ResourceGroup and its name is 'xyz' and its stack-id is 'xxxxxx-xxxxx-xxxxxxxx-xxxxxxxxxx'.<br> 1. First do a resource-list on this stack, for example: curl -X GET <a href="https://iad.orchestration.api.rackspacecloud.com/v1/<tenant-id>/stacks/xyz/xxxxxxxx-xxxxx-xxxxxxxxx-xxxxxxxx/resources" rel="nofollow">https://iad.orchestration.api....</a> -H "Accept: application/json" -H "Content-Type: application/json" -H "X-Auth-Token:xxxxx"<br> 2. From the above command output, note the ResourceGroup resource-id (UUID). For example resource group's UUID is 'yyyyyyy-yyyyyyy-yyyyyyy-yyyyyyyyy'.<br> 3. Next, run resource-list on ResourceGroup: curl -X GET <a href="https://iad.orchestration.api.rackspacecloud.com/v1/<tenant-id>/stacks/yyyyyyy-yyyyyyy-yyyyyyy-yyyyyyyyy/resources" rel="nofollow">https://iad.orchestration.api....</a> -H "Accept: application/json" -H "Content-Type: application/json" -H "X-Auth-Token:xxxxx"</p><p>Make sure to fill in the missing values for each CURL command.</p><p>Mike</p>masthalterMon, 02 Mar 2015 10:40:57 -0000Re: 7.1. Container Access Control Lists - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/Container_ACLs-d1e2222.html#comment-1883435220<p>Hi, tiago,<br>Checking with the dev team and providing them with your information. I post here when I hear back from them.<br>Regards,<br>Catherine</p>cyrichardsonMon, 02 Mar 2015 10:19:31 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1883432352<p>Good morning, Wo'O Ideafarm,<br>Use of the 202 code is part of the eventual consistency model, which is used in Cloud Files. For more information about eventual consistency, see <a href="http://en.wikipedia.org/wiki/Eventual_consistency" rel="nofollow">http://en.wikipedia.org/wiki/E...</a>. You'll also see it in the table at</p><p><a href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create-Large-Objects-d10e.html" rel="nofollow">http://docs.rackspace.com/file...</a> .<br>Regards,<br>Catherine</p>cyrichardsonMon, 02 Mar 2015 10:17:28 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1883421847<p>Thanks. If the response is 202, does that mean that the request has passed all validation checks so is guaranteed to succeed when it is eventually processed? Your table seems to imply this. If that is true, please say so. If it isn't true, please list the reasons why the request might fail. That information would be extremely useful because it would guide the client developer regarding under what circumstances the client can assume that the update is a done deal.</p><p>IMO, the possibility of a 202 sucks totally. I wish you'd just get rid of it.</p>Wo'O IdeafarmMon, 02 Mar 2015 10:10:25 -0000Re: 7.1. Container Access Control Lists - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/Container_ACLs-d1e2222.html#comment-1883150041<p>Hi Catherine,</p><p>Are you sure about that? It does not work for me. When i create a sub-user and give him X-Container-Read and X-Container-Write for a container A, this sub-user is able to read and write any object inside the container A, but can not list ir. He receives a forbidden message saying that the access to this resource was denied. And as defined in this page, the X-Container-Read allows the GET method for all objects in the container, it does not allow the GET method for the container itself (for listing).</p><p>My code seems to be ok.</p><p>Can you confirm me if is possible allowing a sub-user to read a specific container (not all of them), and if it is, how can i do it?</p><p>Thanks in advance,<br>Tiago Oliveira</p>tiagoMon, 02 Mar 2015 06:06:05 -0000Re: Create Stack using a Resource Group with cURL - Rackspace Cloud Orchestration Getting Started Guide - API v1.0http://docs.rackspace.com/orchestration/api/v1/orchestration-getting-started/content/Create_Stack_W_RGroup_CURL.html#comment-1883148207<p>Is there a way to get the server ID(s) of each server in the resource group?</p>DdevMon, 02 Mar 2015 06:03:45 -0000Re: 3.9.1. Create volume from image and boot instance - Next Generation Cloud Servers™ Developer Guide - API v2http://docs-internal.rackspace.com/servers/api/v2/cs-devguide/content/create_volume_from_image_and_boot.html#comment-1879252576<p>jecc,</p><p>This blog post speaks to some of the benefits of BFV: <a href="http://www.rackspace.com/blog/boot-rackspace-cloud-servers-from-a-cloud-block-storage-volume/" rel="nofollow">http://www.rackspace.com/blog/...</a></p><p>Does that help? -- Cat (Information Developer)</p>Cat LookabaughFri, 27 Feb 2015 15:21:44 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1879139653<p>Hi, Wo'O Ideafarm,<br>I've updated this page to indicate the 202 is a possible response code for this API operation. This update will be published shortly. Please note that the section at <a href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/responseCodes-d101e.html" rel="nofollow">http://docs.rackspace.com/file...</a> also documents common response codes. Thank you for your feedback!<br>Regards,<br>Catherine</p>cyrichardsonFri, 27 Feb 2015 14:15:52 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1878935602<p>Without any further action on my part, please at a minimum update this page with the information that "202 Accepted" is a possible response code. The new information should also state what will determine whether the request will be honored. It should also state the recommended way for a client to determine whether the request is still pending, has been completed, or has been rejected.</p><p>As it stands, your API returns an undocumented response code. I would think that your QC department would tell y'all straight up that that is unacceptable.</p>Wo'O IdeafarmFri, 27 Feb 2015 12:22:17 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1878641547<p>Hello, Wo'O Ideafarm,<br>Please contact our Rackspace Support staff for help with your particular application. They are available Toll Free at 1-800-961-4454. And as always, you can provide a request for changes at <a href="https://feedback.rackspace.com/forums/250746-cloud-hosting/category/82720-cloud-files" rel="nofollow">https://feedback.rackspace.com...</a><br>Regards,<br>Catherine (Rackspace Information Developer)</p>cyrichardsonFri, 27 Feb 2015 09:36:04 -0000Re: 5.3.2. Create or Update Object - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/PUT_createobject_v1__account___container___object__objectServicesOperations_d1e000.html#comment-1877661339<p>This api sometimes returns "202 Accepted". This is a nightmare for me and is preventing me from releasing a nifty cloud administration tool for other Rackspace customers to use. Is there any way to specify, in the request, that the processing should either be synchronous or not at all? I need synchronous processing so that my code can verify that the upload has completed successfully. If the server is handling too many requests, I'd rather the server just refuse the connection or immediately return some sort of error response.</p>Wo'O IdeafarmThu, 26 Feb 2015 18:32:24 -0000Re: 3.9.1. Create volume from image and boot instance - Next Generation Cloud Servers™ Developer Guide - API v2http://docs-internal.rackspace.com/servers/api/v2/cs-devguide/content/create_volume_from_image_and_boot.html#comment-1875375478<p>Excellent question, jecc!! I'm providing the short answer now, but I will come back with a more detailed one in the next day or two. So here it is: Boot from volume enables the diskless flavors (which can't work without BFV). BFV also allows you to have a larger system disk for certain flavors, like windows flavors. I expect to have a few more use cases for BFV. --Cat (Information Developer)</p>Cat LookabaughWed, 25 Feb 2015 15:20:00 -0000Re: 7.1. Container Access Control Lists - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/Container_ACLs-d1e2222.html#comment-1875285794<p>Hi, tiago,<br>From Cloud Files development: X-Container-Read does give you container listing rights, in addition to allowing reading of the objects themselves. Perhaps you can try using that for your application. Please feel free to use <a href="https://feedback.rackspace.com/forums/250746-cloud-hosting/category/82720-cloud-files" rel="nofollow">https://feedback.rackspace.com...</a> if there is additional functionality you would like to request. Hope this helps!<br>Regards,<br>Catherine (Rackspace Information Developer)</p>cyrichardsonWed, 25 Feb 2015 14:34:22 -0000Re: 3.9.1. Create volume from image and boot instance - Next Generation Cloud Servers™ Developer Guide - API v2http://docs-internal.rackspace.com/servers/api/v2/cs-devguide/content/create_volume_from_image_and_boot.html#comment-1875140940<p>so what is the advantage of booting an instance using bootable volume and boot an instance and attach a vloume</p>jeccWed, 25 Feb 2015 13:18:18 -0000Re: 2.1.3. Get Server Details - Next Generation Cloud Servers™ Developer Guide - API v2http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Get_Server_Details-d1e2623.html#comment-1874706656<p>David,</p><p>OK, here's the scoop. True metadata, which is what you would use to identify or mark servers, is only available in the API at this time. Tags are only available via the control panel. If you'd like to vote on getting tags added to the API, please vote here: <a href="https://feedback.rackspace.com/forums/250746-cloud-hosting/suggestions/5977605-expose-cloud-server-tags-through-the-api" rel="nofollow">https://feedback.rackspace.com...</a> -- Cat (Information Developer)</p>Cat LookabaughWed, 25 Feb 2015 09:06:45 -0000Re: 7.1. Container Access Control Lists - Rackspace Cloud Files™ Developer Guide - API v1http://docs.rackspace.com/files/api/v1/cf-devguide/content/Container_ACLs-d1e2222.html#comment-1873774732<p>Why is not possible to give to a sub-account permissions to list a specific container? Is only possible give read and write permissions for the objects inside the container. There must be a way for give a sub-account permission to list (e.g.: X-Container-list).</p>tiagoTue, 24 Feb 2015 18:38:33 -0000Re: List Flavors with cURL - Next Generation Cloud Servers™ Getting Started - OpenStack Compute API v2http://docs.rackspace.com/servers/api/v2/cs-gettingstarted/content/curl_list_flavors.html#comment-1873358536<p>Thanks</p>William WardTue, 24 Feb 2015 15:41:13 -0000Re: List Flavors with cURL - Next Generation Cloud Servers™ Getting Started - OpenStack Compute API v2http://docs.rackspace.com/servers/api/v2/cs-gettingstarted/content/curl_list_flavors.html#comment-1873358182<p>Yes, thank you.</p>William WardTue, 24 Feb 2015 15:41:04 -0000Re: List Flavors with cURL - Next Generation Cloud Servers™ Getting Started - OpenStack Compute API v2http://docs.rackspace.com/servers/api/v2/cs-gettingstarted/content/curl_list_flavors.html#comment-1873347357<p>Wiliam, the "flavorref" in the create server request is the same as the "id" in the list flavor response. So, in this case, you'd use the value compute1-15. The original flavors were just numbers. More recent flavors are more descriptive. Does this help? - Cat (Information Developer)</p>Cat LookabaughTue, 24 Feb 2015 15:35:49 -0000Re: List Flavors with cURL - Next Generation Cloud Servers™ Getting Started - OpenStack Compute API v2http://docs.rackspace.com/servers/api/v2/cs-gettingstarted/content/curl_list_flavors.html#comment-1873325963<p>Hi William,</p><p>Rather than the flavorRef URI, you should also be able to pass the flavor ID as the value for flavorRef. In the example shown above, the id is compute1-15.</p><p>The flavorRef (URI) shown in the example above (href) should also work:<br><a href="https://dfw.servers.api.rackspacecloud.com/v2/820712/flavors/compute1-15" rel="nofollow">https://dfw.servers.api.racksp...</a></p><p>Mike</p>masthalterTue, 24 Feb 2015 15:23:28 -0000Re: List Flavors with cURL - Next Generation Cloud Servers™ Getting Started - OpenStack Compute API v2http://docs.rackspace.com/servers/api/v2/cs-gettingstarted/content/curl_list_flavors.html#comment-1873289250<p>I need to create a server with json, and need the flavorRef variable. However, I do not see that returned here.</p>William WardTue, 24 Feb 2015 15:04:50 -0000Re: 2.1.3. Get Server Details - Next Generation Cloud Servers™ Developer Guide - API v2http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Get_Server_Details-d1e2623.html#comment-1873206165<p>Can you access tags yet from the api? How would you set metadata via the control panel? Or is that just done via the api?</p>David RodriguezTue, 24 Feb 2015 14:21:44 -0000