Project Specific Data Storage

GoodData project-specific data storage lets you stage and deliver your data files to the project. You can stage valid row-based CSV files or well-formed XML (adding a schema is helpful).

You must be a project administrator (see User Roles) to be able to access the project-specific data storage.

Project-specific storage is not permanent storage. Files are automatically deleted after 7 days.

GoodData project-specific data storage is project-based and is not user-based (for more information about user-based data storage, see User Specific Data Storage). All users who have admin access to the project can access the data in the project-specific data storage.

Contents:

Access Details

To access your project-specific data storage, you need to know the server URL and credentials to log in to this server.

Server URL

The server URL depends on the datacenter that your data is stored in.

Steps:

  1. Find out what datacenter holds your data (see Finding Out Your Data Colocation).
  2. Find the server URL under your datacenter (see Datacenter Properties).

For example, the URL may look like the following:

https://{your.domain.com}/gdc/projects/{project_id}/uploads

where {your.domain.com} is the domain URL that is used to log in to the GoodData platform.

If you do not know your project ID, see Find the Project ID.

Credentials

Use your GoodData username and password to log in.

Connect to Your Project-Specific Data Storage

The following examples use the sample project ID e863ii0azrnng2zt4fuu81ifgqtyeoj21 and the sample hostname acmecorp.gooddata.com. Replace them with your project ID and hostname.

REST API

The following cURL command returns the link to the project-specific data storage:

curl -H 'Accept: application/json' -X GET https://acmecorp.gooddata.com/gdc/projects/e863ii0azrnng2zt4fuu81ifgqtyeoj21/uploads | jq  '.project.links.uploads'

WebDAV

The following picture shows how you can connect to your project-specific data storage via WebDAV using Cyberduck:

Mac Finder

Steps:

  1. Open the Finder window.
  2. From the top menu, select Go > Connect to Server... .
    The dialog for connecting to a server appears.
  3. Enter the server URL (see Access Details), and click Connect:
  4. When prompted, enter your GoodData credentials, and click Connect.

If you are accessing the project-specific data storage via a browser, be sure to include the final slash:

https://acmecorp.gooddata.com/gdc/projects/e863ii0azrnng2zt4fuu81ifgqtyeoj21/uploads/

Uploading a File to Project-Specific Data Storage Using Ruby

The following Ruby script uploads the file test.txt to the project-specific storage for the project with ID e863ii0azrnng2zt4fuu81ifgqtyeoj21:

require 'uri'
require 'net/http'
 
uri = URI.parse("https://acmecorp.gooddata.com/gdc/projects/e863ii0azrnng2zt4fuu81ifgqtyeoj21/uploads")
file = 'test.txt'
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Put.new("#{uri.request_uri}/test.txt")
request.basic_auth 'john.doe@gooddata.com', 'secretpassword'
request.body_stream = File.open(file)
request["Content-Type"] = "multipart/form-data"
request.add_field('Content-Length', File.size(file))
response = http.request(request)

We recommend that you zip your file before staging it to the project-specific data storage. This ensures file integrity and helps save time and bandwidth.