SALES: 1-800-867-1380
2 out of 2 rated this helpful - Rate this topic

Addressing Table Service Resources

Updated: February 10, 2014

The Table service exposes the following resources via the REST API:

  • Account. The storage account is a uniquely identified entity within the storage system. The storage account is the parent namespace for the Table service. All tables are associated with an account.

  • Tables. The Tables resource represents the set of tables within a given storage account.

  • Entity. An individual table stores data as a collection of entities.

Resource URI Syntax

The base URI for Table service resources is the storage account:

https://myaccount.table.core.windows.net

To list the tables in a given storage account, to create a new table, or to delete a table, refer to the set of tables in the specified storage account:

https://myaccount.table.core.windows.net/Tables

To return a single table, name that table within the Tables collection, as follows:

https://myaccount.table.core.windows.net/Tables('MyTable')

To query entities in a table, or to insert, update, or delete an entity, refer to that table directly within the storage account. This basic syntax refers to the set of all entities in the named table:

https://myaccount.table.core.windows.net/MyTable()

The format for addressing data resources for queries conforms to that specified by the OData Protocol Specification. You can use this syntax to filter entities based on criteria specified on the URI.

Note that all values for query parameters must be URL encoded before they are sent to the Windows Azure storage services.

Supported HTTP Operations

Each resource supports operations based on the HTTP verbs GET, PUT, HEAD, and DELETE. The verb, syntax, and supported HTTP version(s) for each operation appears on the reference page for each operation. For a complete list of operation reference pages, see Table Service REST API.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.