The Cloud Storage Rest API - creating a container problem

I am creating a container, by following the steps - following

(1) authenticate and obtain a token-

curl - v s x GET h "X-storage-User: storage - < MY_IDENTITY_DOMAIN >: < MY_EMAIL_ADDRESS > ' h ' X-storage-Pass: MY_PASSWORD > ' https://storage.US2.oraclecloud.com/auth/v1.0

It works and gives a "HTTP/1.1 200 OK" response code, as well as X-Auth-Token, X-storage-Token and response of X-storage-Url (as planned by the documentation) headers.

(2) If, now, I try and create a container using the following command (plug in the authentication token).

curl - v s PUT h x ' X-Auth-Token: AUTH_TOKEN > ' https://storage.us2.oraclecloud.com/v1/Storage-< MY_IDENTITY_DOMAIN >/myContainer

(Note the URL that I use is that the value of the X-storage-Url returned by the authentication API)

This operation fails with a ' HTTP/1.1 403 Forbidden' response code

(3) strangely if I try containers with - list

curl - v s x GET h ' X-Auth-Token: < AUTH_TOKEN >" https://storage.us2.oraclecloud.com/v1/Storage-<MY_IDENTITY_DOMAIN >?"» format = json

I have a second account of DBaaS where this workflow works perfectly, so I'm very confused why it does not work.

Ideas?

Thank you

John

Then get the authentication token, also authenticate

https://IDENTITY_DOMAIN.storage.oraclecloud.com/auth/v1.0

in the REST call

Tags: Database

Similar Questions

  • I'm here for a year, but the Cloud storage still 2 GB. Why I don't have 20 GB?

    I'm here for a year, but the Cloud storage still 2 GB. Why I don't have 20 GB?

    You have the installed trial?

    If so, then try a disconnection & journal again the CC desktop application, or you can uninstall the trial & re install from adobe.com link.

    Let me know if the problem still persists.

    Concerning

    Baudier

  • Where to find the vCAC new REST API documentation

    Hello

    I read that a REST API has been added to vCAC 6.x. The literature points to a document "vCloud QAnywhere Automation Center", which I was unable to locate so far.

    Does anyone know where to find this document or have a URL that points to the reference on the embedded API (e.g. in vCO, it would be the hostname:8281 / vco/api/docs) if vCAC provides a reference also?

    Thank you

    Robert

    Watch that space, the documentation is reviewed internally at the present time.

    Grant

  • Use of the IOM PS3 REST API

    Hello

    I'm a newbie, try to use OOB rest of the api OIMPS3.

    I'm not getting any good documentation on even.

    Any help on even is much appreciated.

    Thank you.

    It works for me:

    http://OIMURL:14000 / idaas im/scim/v1/user /? attributes = username, displayName & sortBy = userName & filter = user name eq ABCD1234

    Content Type: application/scim + json

    Just install HttpRequester in the firefox browser and use above URL. It should work.

  • Where we will see the first incarnation of the Cloud resource model API?

    Where and when we will see the first incarnation of the API model of Cloud resources in a deployable product?

    API cloud resource model is expected to be filled in the next major release of the Enterprise Manager in 2011.

    It may be of limited availability beta phased, but has not yet committed. We will make an announcement on this forum, each time as a sandbox or environment becomes available.

  • If I upgrade the ICloud storage all my devices share this cloud (same user)

    It seems that I am running out of storage according to all the emails from Apple. I use three apple devices. If I upgrade the cloud storage is shared by all devices? (Same user name and ID

    Thank you

    Yes.

  • Is there a way to get the data for submission of form of eloqua using the REST API?

    I was wondering if there is a way to get the data for submission of form of eloqua using the REST API?

    Thank you

    On the page that egan related, there is a 'RawData' field for FormSubmit activities. In this area, the raw sending the form query string is returned.

    Whatever it is, you can get this info from the activities of the API block, or the endpoints data Rest API.

  • WebCenter Sites REST API: How to add multiple attributes to Active?

    I created an asset with a multiple attribute, as for example, a set of images.

    I would like to insert images of this asset with the Webcenter Sites REST API but I Don t know how.

    Single attribute is like this:

    sourceAssetAttribute = new Attribute();
      sourceAssetAttributeData = new Data();
      sourceAssetAttribute.setName("FSIILongDescription");
      sourceAssetAttributeData.setStringValue("Test Long Description");
      sourceAssetAttribute.setData(sourceAssetAttributeData);
      sourceAsset.getAttributes().add(sourceAssetAttribute);

    And multiple is how?

    I finally got.

    https://support.Oracle.com/epmos/faces/DocumentDisplay?_afrLoop=563491042188574&parent=document&SourceID=1528601.1&ID=1510322.1&_afrWindowMode=0&_adf.CTRL-State=m55lxhl4z_58

    It s like this:

    sourceAssetAttribute = new Attribute();

    sourceAssetAttributeData = new Data();

    sourceAssetAttribute.setName ("attribute_name");

    sourceAssetAttributeData.getStringLists (.add(0,"Asset_type:"+asset_id));))

    sourceAssetAttributeData.getStringLists (.add(1,"Asset_type:"+asset_id));))

    sourceAssetAttribute.setData (sourceAssetAttributeData);

    sourceAsset.getAttributes () .add (sourceAssetAttribute);

  • Using CC for originals of cloud storage/backup?

    Hello!

    I have a problem after Adobe Revel was closed and I was pushed to the solution of creative Cloud with free trial 1 year.

    My promary goal is to have the cloud storage solution and nice and simple sharing albums with family (possibility to download the originals).

    Revel did this perfectly.

    With Lightromm CC, I have a few challenges since it is not that simple and easy to use on a personal basis (create albums, download).

    As far as I understand it comes to solution of ore to edit photos rather than store & share.

    There is an option of sharing with the mobile application mobile of Lightroom, but it does not backup and only give you access to preview, right?

    A solution similar to Adobe Revel?

    Thank you in advance!

    Alex

    How can I access this feature?

    There is not (yet) you cannot use it. Only way to use the creative cloud as backup is to set up a publication record (or do it manually) in your folder of creative cloud on your original computer and export it so they get synchronized.

  • Quesiton answer REST API

    I'm trying to understand what information is contained in the Eloqua activities for the activityTypes object. Activities has these attributes:

    -ID

    -type

    -activityDate

    -activityType

    -assetID

    -contactID

    -Details

    By the documentation, the different activityTypes include emalClickThrough emailSend emailOpen, webVisit, campaignMembership... etc.

    What I've not seen so far, this is what Details would be available for each of these categories. The link below provides an example of output that would be for a emailSend:

    http://topliners.Eloqua.com/docs/doc-3092

    Of course, "Subject line" not will be not rendered for webVisit and CampaignMembership... but what would? We are in the design phase of a project and rely on documentation to illustrate attributes are available for export in a data warehouse.  Please point me to the documentation where I can find this level of information.

    Thank you!

    Hi Joseph,.

    We have updated the original document (REST API - access Contact activities) to include the details for each type of activity.

    Included here for convenience:

    Types of activities (Details)

    • campaignMembership

      • Replied
      • CampaignName
      • LeadStage
    • emailClickThrough
      • EmailClickedThruLink
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailOpen
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • IPAddress
      • SubjectLine
    • emailSend
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailSubscribe
      • CampaignName
      • EmailCampaignId
    • emailUnsubscribe
      • CampaignName
      • EmailCampaignId
    • formSubmit
      • Collection
      • FormName
    • webVisit
      • Duration
      • QueryString
      • QueryStringDisplay
      • Thread

    Please let me know if you need more information.

    Thank you

    Fred

  • POST CURL with vCO 5.1 REST API

    I am trying to invoke a vco workflow by using the 5.1 REST API through curl. I could do GET without any issue; but POST always gives me the 400 bad request error below. I want to use json instead of xml, so I passed in "Content-Type: application/json". I am using windows curl.

    Initially I tried to create a settings file to json with "-d @filename"; It gives the same error.

    If someone could tell what is wrong with my syntax? Thank you.

    curl-i k - vcoadmin:vcoadmin of the user x POST h ' Content-Type: application / json ' https://192.168.1.7:8281 / api/stream/dec0e608 - 8 b 8
    3 4e32-8825-3e77ef31c4d7/presentation/instances - d '{} '.

    HTTP/1.1 400 Bad Request
    Content-Type: text/html; charset = utf-8

    Content-Length: 965
    Date: Tuesday, March 5, 2013 02:31:19 GMT
    Connection: close
    Server: vCO Server

    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {make-f
    amily:Tahoma, Arial, without serif; color: white; background-color: # 525-76; font-size: 22 p
    x ;} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76}
    do-size: 16px ;} H3 {do-family: Tahoma, Arial, without serif; color: white; background}
    -color: # 525 76; do-size: 14px ;} BODY {do-family: Tahoma, Arial, without serif; color:}
    Black; background-color: white ;} B {do-family: Tahoma, Arial, without serif; color: whit}
    e; background-color: # 525 76 ;} P {do-family: Tahoma, Arial, without serif; background: w}
    Hite; color: black; do-size: 12px ;} A {color: black ;}} B.SID {color: black ;}} HR {co
    Lor: # 525 76 ;} --> < / style > < / head > < body > < h1 > State HTTP 400 - < / h1 > < HR size = "1".
    NoShade = "noshade" > < p > < b > enter < /b > < /p > < p > < b > report message < /b > < u > < / u > < / p > <
    p > < b > description < /b > < u > the request sent by the client was syntactically incorr
    (CT). < /u > < /p > < HR size = "1" noshade "noshade" = > < h3 JBossWeb/2.0.1.GA > < / h3 > < body / > < /.
    HTML >

    Hi jiang.

    Could you try without the quotes around the parameter d data?

    curl-i k - vcoadmin:vcoadmin of the user x POST h ' Content-Type: application / json ' https://192.168.1.7:8281 / api/stream/dec0e608 - 8 b 8
    3 4e32-8825-3e77ef31c4d7/presentation/instances - d {}

    -Ilian

  • I would like to stop paying 99 cents for my I have cloud storage.  I want to cancel

    I am being charged 99 cents a month because I have the cloud storage.  How do I cancel this

    Downgrade to the 5 GB for free by following this support document:

    iCloud and downgrades - Apple Support storage upgrades

    If you pass your storage plan and your content exceeds the storage you have available, new photos and videos don't download on iCloud photo library and devices stop backup in iCloud. iCloud drive and other applications that you use with iCloud does not refresh on your devices. Cannot send or receive messages with your iCloud email address. Learn how manage your storage space by removing backups, documents, photos, and messages that you no longer need.

  • Disabling Adobe cloud storage

    Hi, I would like to know if it is possible to use libraries and share without using the cloud storage. In addition, if there is no possibility to disable or block the cloud storage.

    Thank you

    Hello

    Please see disable access to the storage capability of creative cloud for teams?

    You can also check: http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/ControllingSvcAccess.p df

    Let us know if it works!

  • How to access the pdf of the cloud on iPad when says "document path is not valid.

    Hello

    I am wanting to access a PDF file from my Windows PC, my iPhone and my IPad, I'm trying to read and HI-lighting for use in higher education. I can't seem to save my computer Adobe document cloud and you can view them on my iPhone, but all the documents I try to access on my IPad that are found on the cloud receive a message of: "the path to the document is not valid."  If I save a document in my software adobe reader on my IPad for an email or a Web site directly from my IPad, I am able to open it. This affects only the documents in the cloud. The files all say they have different file sizes (e.g. - 207KO, 166KB, etc. and NOT say 0 KB, so I know that the document is not a blank document). Any suggestion would be great. In addition, the settings in the application are the same for my IPhone and my IPad, so I find it confusing that I can access it on my IPhone but not my IPad. Both use the same IOS software. (IOS 9.0.2).

    Thank you

    LInda

    Hello

    Please check if you have saved the file storage cloud Document and mobile link is turned on. Also, check if the file is completely downloaded to the cloud storage by going to cloud.acrobat.com.

    Thank you

    Abhishek

  • Files can be recovered if deleted from the clouds of document?

    looking for files deleted from the document cloud

    Hi RiverOaks ER,

    No, it is not possible to retrieve files, once they are removed from the cloud storage.

    Kind regards

    Rahul

Maybe you are looking for

  • A4 and A5 extern screen resulution

    Im looking to buy a Toshiba tecra A5-145 or A4-205, both radeon x 600. I wonder if anyone has any experience in the use of these (or simular tecnicaly) fitted with an external screen with the resulolution 1050 x 1680. I spoke with the Toshiba helplin

  • How much RAM in a 2650XDVD satellite?

    I have 64 MB in this laptop! They write that I can put only 128 MB this 64 MB!I put 512 MB in there with Windows XP? Or I get into trouble with the Bios or so?I have to do a Bios Update? or 192 MB ram is really the highest level for this laptop?

  • IPhoto opens briefly then goes down?

    IPhoto open briefly the accident?

  • Divide the string without any delimeters

    A little banal theme, but... I have a string saying 1010002. I need to separate groups of two digits itno - 1 01 00 02, if it is uneven - the most significant byte is the only one. Thanks in advance.

  • Sound keeps dropping out at different times

    LifeCam 3000 Sound keeps dropping out at different times. All that correct adjustment. A lot of processor and memory. Under XP sp2... about to take it back!