diff --git a/.gitignore b/.gitignore
index 293c3cab89a..05688daf462 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,5 +31,8 @@ tags
# Files created by Sphinx build
doc/build
+#Files created for API reference
+api-ref/build
+
# Files created by releasenotes build
releasenotes/build
diff --git a/api-ref/ext/__init__.py b/api-ref/ext/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/api-ref/ext/rest_parameters.py b/api-ref/ext/rest_parameters.py
new file mode 100644
index 00000000000..c74ab5ea0d4
--- /dev/null
+++ b/api-ref/ext/rest_parameters.py
@@ -0,0 +1,352 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+"""This provides a sphinx extension able to create the HTML needed
+for the api-ref website.
+
+It contains 2 new stanzas.
+
+ .. rest_method:: GET /foo/bar
+
+Which is designed to be used as the first stanza in a new section to
+state that section is about that REST method. During processing the
+rest stanza will be reparented to be before the section in question,
+and used as a show/hide selector for it's details.
+
+ .. rest_parameters:: file.yaml
+
+ - name1: name_in_file1
+ - name2: name_in_file2
+ - name3: name_in_file3
+
+Which is designed to build structured tables for either response or
+request parameters. The stanza takes a value which is a file to lookup
+details about the parameters in question.
+
+The contents of the stanza are a yaml list of key / value pairs. The
+key is the name of the parameter to be shown in the table. The value
+is the key in the file.yaml where all other metadata about the
+parameter will be extracted. This allows for reusing parameter
+definitions widely in API definitions, but still providing for control
+in both naming and ordering of parameters at every declaration.
+
+"""
+
+from docutils import nodes
+from docutils.parsers.rst.directives.tables import Table
+from docutils.statemachine import ViewList
+from sphinx.util.compat import Directive
+
+import six
+import yaml
+
+
+def full_name(cls):
+ return cls.__module__ + '.' + cls.__name__
+
+
+class rest_method(nodes.Part, nodes.Element):
+ """rest_method custom node type
+
+ We specify a custom node type for rest_method so that we can
+ accumulate all the data about the rest method, but not render as
+ part of the normal rendering process. This means that we need a
+ renderer for every format we wish to support with this.
+
+ """
+ pass
+
+
+class rest_expand_all(nodes.Part, nodes.Element):
+ pass
+
+
+class RestExpandAllDirective(Directive):
+ has_content = True
+
+ def run(self):
+ return [rest_expand_all()]
+
+
+class RestMethodDirective(Directive):
+
+ # this enables content in the directive
+ has_content = True
+
+ def run(self):
+ lineno = self.state_machine.abs_line_number()
+ target = nodes.target()
+ section = nodes.section(classes=["detail-control"])
+
+ node = rest_method()
+
+ method, sep, url = self.content[0].partition(' ')
+
+ node['method'] = method
+ node['url'] = url
+ node['target'] = self.state.parent.attributes['ids'][0]
+
+ temp_target = "%s-selector" % node['target']
+ target = nodes.target(ids=[temp_target])
+ self.state.add_target(temp_target, '', target, lineno)
+ section += node
+
+ return [target, section]
+
+
+class RestParametersDirective(Table):
+
+ headers = ["Name", "In", "Type", "Description"]
+
+ def yaml_from_file(self, fpath):
+ """Collect Parameter stanzas from inline + file.
+
+ This allows use to reference an external file for the actual
+ parameter definitions.
+ """
+ try:
+ with open(fpath, 'r') as stream:
+ lookup = yaml.load(stream)
+ except IOError:
+ self.env.warn(
+ self.env.docname,
+ "Parameters file %s not found" % fpath)
+ return
+ except yaml.YAMLError as exc:
+ self.app.warn(exc)
+ raise
+
+ content = "\n".join(self.content)
+ parsed = yaml.load(content)
+ new_content = list()
+ for paramlist in parsed:
+ for name, ref in paramlist.items():
+ if ref in lookup:
+ new_content.append((name, lookup[ref]))
+ else:
+ self.env.warn(
+ "%s:%s " % (
+ self.state_machine.node.source,
+ self.state_machine.node.line),
+ ("No field definition for ``%s`` found in ``%s``. "
+ " Skipping." % (ref, fpath)))
+
+ self.yaml = new_content
+
+ def run(self):
+ self.env = self.state.document.settings.env
+ self.app = self.env.app
+
+ # Make sure we have some content, which should be yaml that
+ # defines some parameters.
+ if not self.content:
+ error = self.state_machine.reporter.error(
+ 'No parameters defined',
+ nodes.literal_block(self.block_text, self.block_text),
+ line=self.lineno)
+ return [error]
+
+ if not len(self.arguments) >= 1:
+ self.state_machine.reporter.error(
+ 'No reference file defined',
+ nodes.literal_block(self.block_text, self.block_text),
+ line=self.lineno)
+ return [error]
+
+ rel_fpath, fpath = self.env.relfn2path(self.arguments.pop())
+ self.yaml_file = fpath
+ self.yaml_from_file(self.yaml_file)
+
+ self.max_cols = len(self.headers)
+ self.options['widths'] = (20, 10, 10, 60)
+ self.col_widths = self.get_column_widths(self.max_cols)
+ # Actually convert the yaml
+ title, messages = self.make_title()
+ table_node = self.build_table()
+ self.add_name(table_node)
+ if title:
+ table_node.insert(0, title)
+ return [table_node] + messages
+
+ def get_rows(self, table_data):
+ rows = []
+ groups = []
+ trow = nodes.row()
+ entry = nodes.entry()
+ para = nodes.paragraph(text=six.text_type(table_data))
+ entry += para
+ trow += entry
+ rows.append(trow)
+ return rows, groups
+
+ # Add a column for a field. In order to have the RST inside
+ # these fields get rendered, we need to use the
+ # ViewList. Note, ViewList expects a list of lines, so chunk
+ # up our content as a list to make it happy.
+ def add_col(self, value):
+ entry = nodes.entry()
+ result = ViewList(value.split('\n'))
+ self.state.nested_parse(result, 0, entry)
+ return entry
+
+ def show_no_yaml_error(self):
+ trow = nodes.row(classes=["no_yaml"])
+ trow += self.add_col("No yaml found %s" % self.yaml_file)
+ trow += self.add_col("")
+ trow += self.add_col("")
+ trow += self.add_col("")
+ return trow
+
+ def collect_rows(self):
+ rows = []
+ groups = []
+ try:
+ for key, values in self.yaml:
+ min_version = values.get('min_version', '')
+ desc = values.get('description', '')
+ classes = []
+ if min_version:
+ desc += ("\n\n**New in version %s**\n" % min_version)
+ min_ver_css_name = ("rp_min_ver_" +
+ str(min_version).replace('.', '_'))
+ classes.append(min_ver_css_name)
+ trow = nodes.row(classes=classes)
+ name = key
+ if values.get('required', False) is False:
+ name += " (Optional)"
+ trow += self.add_col(name)
+ trow += self.add_col(values.get('in'))
+ trow += self.add_col(values.get('type'))
+ trow += self.add_col(desc)
+ rows.append(trow)
+ except AttributeError as exc:
+ if 'key' in locals():
+ self.app.warn("Failure on key: %s, values: %s. %s" %
+ (key, values, exc))
+ else:
+ rows.append(self.show_no_yaml_error())
+ return rows, groups
+
+ def build_table(self):
+ table = nodes.table()
+ tgroup = nodes.tgroup(cols=len(self.headers))
+ table += tgroup
+
+ tgroup.extend(
+ nodes.colspec(colwidth=col_width, colname='c' + str(idx))
+ for idx, col_width in enumerate(self.col_widths)
+ )
+
+ thead = nodes.thead()
+ tgroup += thead
+
+ row_node = nodes.row()
+ thead += row_node
+ row_node.extend(nodes.entry(h, nodes.paragraph(text=h))
+ for h in self.headers)
+
+ tbody = nodes.tbody()
+ tgroup += tbody
+
+ rows, groups = self.collect_rows()
+ tbody.extend(rows)
+ table.extend(groups)
+
+ return table
+
+
+def rest_method_html(self, node):
+ tmpl = """
+
+
+
%(url)s
+
%(desc)s
+
+ detail
+
+
"""
+
+ self.body.append(tmpl % node)
+ raise nodes.SkipNode
+
+
+def rest_expand_all_html(self, node):
+ tmpl = """
+"""
+
+ self.body.append(tmpl % node)
+ raise nodes.SkipNode
+
+
+def resolve_rest_references(app, doctree):
+ for node in doctree.traverse():
+ if isinstance(node, rest_method):
+ rest_node = node
+ rest_method_section = node.parent
+ rest_section = rest_method_section.parent
+ gp = rest_section.parent
+
+ # Added required classes to the top section
+ rest_section.attributes['classes'].append('api-detail')
+ rest_section.attributes['classes'].append('collapse')
+
+ # Pop the title off the collapsed section
+ title = rest_section.children.pop(0)
+ rest_node['desc'] = title.children[0]
+
+ # In order to get the links in the sidebar to be right, we
+ # have to do some id flipping here late in the game. The
+ # rest_method_section has basically had a dummy id up
+ # until this point just to keep it from colliding with
+ # it's parent.
+ rest_section.attributes['ids'][0] = (
+ "%s-detail" % rest_section.attributes['ids'][0])
+ rest_method_section.attributes['ids'][0] = rest_node['target']
+
+ # Pop the overall section into it's grand parent,
+ # right before where the current parent lives
+ idx = gp.children.index(rest_section)
+ rest_section.remove(rest_method_section)
+ gp.insert(idx, rest_method_section)
+
+
+def setup(app):
+ app.add_node(rest_method,
+ html=(rest_method_html, None))
+ app.add_node(rest_expand_all,
+ html=(rest_expand_all_html, None))
+ app.add_directive('rest_parameters', RestParametersDirective)
+ app.add_directive('rest_method', RestMethodDirective)
+ app.add_directive('rest_expand_all', RestExpandAllDirective)
+ app.add_stylesheet('bootstrap.min.css')
+ app.add_stylesheet('api-site.css')
+ app.add_javascript('bootstrap.min.js')
+ app.add_javascript('api-site.js')
+ app.connect('doctree-read', resolve_rest_references)
+ return {'version': '0.1'}
diff --git a/api-ref/v1/source/_static/api-site.css b/api-ref/v1/source/_static/api-site.css
new file mode 100644
index 00000000000..e7f5c19bc5d
--- /dev/null
+++ b/api-ref/v1/source/_static/api-site.css
@@ -0,0 +1,81 @@
+tt.literal {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #c7254e;
+ white-space: nowrap;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
+
+/* bootstrap users blockquote for pull quotes, so they are much
+larger, we need them smaller */
+blockquote { font-size: 1em; }
+
+pre {
+ display: block;
+ padding: 9.5px;
+ margin: 0 0 10px;
+ font-size: 13px;
+ line-height: 1.428571429;
+ color: #333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+tbody>tr:nth-child(odd)>td,
+tbody>tr:nth-child(odd)>th {
+ background-color: #f9f9f9;
+}
+
+table>thead>tr>th, table>tbody>tr>th, table>tfoot>tr>th, table>thead>tr>td, table>tbody>tr>td, table>tfoot>tr>td {
+ padding: 8px;
+ line-height: 1.428571429;
+ vertical-align: top;
+ border-top: 1px solid #ddd;
+}
+
+td>p {
+ margin: 0 0 0.5em;
+}
+
+div.document {
+ width: 80% !important;
+}
+
+@media (max-width: 1200px) {
+ div.document {
+ width: 960px !important;
+ }
+}
+
+.operation-grp {
+ padding-top: 0.5em;
+ padding-bottom: 1em;
+}
+
+/* Ensure the method buttons and their links don't split lines when
+the page is narrower */
+.operation {
+ /* this moves the link icon into the gutter */
+ margin-left: -1.25em;
+ margin-right: 1.25em;
+ white-space: nowrap;
+}
+
+/* These make the links only show up on hover */
+a.operation-anchor {
+ visibility: hidden;
+}
+
+.operation-grp:hover a.operation-anchor {
+ visibility: visible;
+}
+
+/* All tables for requests should be full width */
+
+.api-detail table.docutils {
+ width: 100%;
+}
diff --git a/api-ref/v1/source/_static/api-site.js b/api-ref/v1/source/_static/api-site.js
new file mode 100644
index 00000000000..6d99fb34c1b
--- /dev/null
+++ b/api-ref/v1/source/_static/api-site.js
@@ -0,0 +1,110 @@
+(function() {
+
+ var pageCache;
+
+ $(document).ready(function() {
+ pageCache = $('.api-documentation').html();
+
+ // Show the proper JSON/XML example when toggled
+ $('.example-select').on('change', function(e) {
+ $(e.currentTarget).find(':selected').tab('show')
+ });
+
+ // Change the text on the expando buttons when appropriate
+ $('.api-detail')
+ .on('hide.bs.collapse', function(e) {
+ processButton(this, 'detail');
+ })
+ .on('show.bs.collapse', function(e) {
+ processButton(this, 'close');
+ });
+
+ var expandAllActive = true;
+ // Expand the world
+ $('#expand-all').click(function () {
+ if (expandAllActive) {
+ expandAllActive = false;
+ $('.api-detail').collapse('show');
+ $('#expand-all').attr('data-toggle', '');
+ $(this).text('Hide All');
+ } else {
+ expandAllActive = true;
+ $('.api-detail').collapse('hide');
+ $('#expand-all').attr('data-toggle', 'collapse');
+ $(this).text('Show All');
+ }});
+
+ // Wire up the search button
+ $('#search-btn').on('click', function(e) {
+ searchPage();
+ });
+
+ // Wire up the search box enter
+ $('#search-box').on('keydown', function(e) {
+ if (e.keyCode === 13) {
+ searchPage();
+ return false;
+ }
+ });
+ });
+
+ /**
+ * highlight terms based on the regex in the provided $element
+ */
+ function highlightTextNodes($element, regex) {
+ var markup = $element.html();
+
+ // Do regex replace
+ // Inject span with class of 'highlighted termX' for google style highlighting
+ $element.html(markup.replace(regex, '>$1$2 $3<'));
+ }
+
+ function searchPage() {
+ $(".api-documentation").html(pageCache);
+
+ //make sure that all div's are expanded/hidden accordingly
+ $('.api-detail.in').each(function (e) {
+ $(this).collapse('hide');
+ });
+
+ var startTime = new Date().getTime(),
+ searchTerm = $('#search-box').val();
+
+ // The regex is the secret, it prevents text within tag declarations to be affected
+ var regex = new RegExp(">([^<]*)?(" + searchTerm + ")([^>]*)?<", "ig");
+ highlightTextNodes($('.api-documentation'), regex);
+
+ // Once we've highlighted the node, lets expand any with a search match in them
+ $('.api-detail').each(function () {
+
+ var $elem = $(this);
+
+ if ($elem.html().indexOf('') !== -1) {
+ $elem.collapse('show');
+ processButton($elem, 'close');
+ }
+ });
+
+ // log the results
+ if (console.log) {
+ console.log("search completed in: " + ((new Date().getTime()) - startTime) + "ms");
+ }
+
+ $('.api-detail')
+ .on('hide.bs.collapse', function (e) {
+ processButton(this, 'detail');
+ })
+ .on('show.bs.collapse', function (e) {
+ processButton(this, 'close');
+ });
+ }
+
+ /**
+ * Helper function for setting the text, styles for expandos
+ */
+ function processButton(button, text) {
+ $('#' + $(button).attr('id') + '-btn').text(text)
+ .toggleClass('btn-info')
+ .toggleClass('btn-default');
+ }
+})();
diff --git a/api-ref/v1/source/_static/bootstrap.min.css b/api-ref/v1/source/_static/bootstrap.min.css
new file mode 100644
index 00000000000..e63ddfaa0a5
--- /dev/null
+++ b/api-ref/v1/source/_static/bootstrap.min.css
@@ -0,0 +1,5 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../_static/glyphicons-halflings-regular.eot);src:url(../_static/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../_static/glyphicons-halflings-regular.woff) format('woff'),url(../_static/glyphicons-halflings-regular.ttf) format('truetype'),url(../_static/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;width:100%;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;width:100% \9;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}mark,.mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#777;opacity:1}.form-control:-ms-input-placeholder{color:#777}.form-control::-webkit-input-placeholder{color:#777}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px;line-height:1.42857143 \0}input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;min-height:20px;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{position:absolute;margin-top:4px \9;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],input[type=radio].disabled,input[type=checkbox].disabled,fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm,.form-horizontal .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg,.form-horizontal .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:25px;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.3px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#3071a9;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{position:absolute;z-index:-1;filter:alpha(opacity=0);opacity:0}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#333}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#777}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#777}.navbar-inverse .navbar-nav>li>a{color:#777}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#777}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#777}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#fff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#428bca;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar[aria-valuenow="1"],.progress-bar[aria-valuenow="2"]{min-width:30px}.progress-bar[aria-valuenow="0"]{min-width:30px;color:#777;background-color:transparent;background-image:none;-webkit-box-shadow:none;box-shadow:none}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{color:#777;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#428bca}.panel-primary>.panel-heading .badge{color:#428bca;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate3d(0,-25%,0);-o-transform:translate3d(0,-25%,0);transform:translate3d(0,-25%,0)}.modal.in .modal-dialog{-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;visibility:visible;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{display:table;content:" "}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/api-ref/v1/source/_static/bootstrap.min.js b/api-ref/v1/source/_static/bootstrap.min.js
new file mode 100644
index 00000000000..7c1561a8b96
--- /dev/null
+++ b/api-ref/v1/source/_static/bootstrap.min.js
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function c(){f.detach().trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.to=function(b){var c=this,d=this.getItemIndex(this.$active=this.$element.find(".item.active"));return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=e[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:g});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,f&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(e)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:g});return a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one("bsTransitionEnd",function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger(m)),f&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(b=!b),e||d.data("bs.collapse",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};c.VERSION="3.2.0",c.DEFAULTS={toggle:!0},c.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var c=a.Event("show.bs.collapse");if(this.$element.trigger(c),!c.isDefaultPrevented()){var d=this.$parent&&this.$parent.find("> .panel > .in");if(d&&d.length){var e=d.data("bs.collapse");if(e&&e.transitioning)return;b.call(d,"hide"),e||d.data("bs.collapse",null)}var f=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[f](0),this.transitioning=1;var g=function(){this.$element.removeClass("collapsing").addClass("collapse in")[f](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return g.call(this);var h=a.camelCase(["scroll",f].join("-"));this.$element.one("bsTransitionEnd",a.proxy(g,this)).emulateTransitionEnd(350)[f](this.$element[0][h])}}},c.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var d=a.fn.collapse;a.fn.collapse=b,a.fn.collapse.Constructor=c,a.fn.collapse.noConflict=function(){return a.fn.collapse=d,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(c){var d,e=a(this),f=e.attr("data-target")||c.preventDefault()||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),g=a(f),h=g.data("bs.collapse"),i=h?"toggle":e.data(),j=e.attr("data-parent"),k=j&&a(j);h&&h.transitioning||(k&&k.find('[data-toggle="collapse"][data-parent="'+j+'"]').not(e).addClass("collapsed"),e[g.hasClass("in")?"addClass":"removeClass"]("collapsed")),b.call(g,i)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.2.0",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(i.filter(":focus"));38==b.keyCode&&j>0&&j--,40==b.keyCode&&j ').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;e?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(150):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var f=function(){c.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",f).emulateTransitionEnd(150):f()}else b&&b()},c.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.2.0",c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show()},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var c=a.contains(document.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!c)return;var d=this,e=this.tip(),f=this.getUID(this.type);this.setContent(),e.attr("id",f),this.$element.attr("aria-describedby",f),this.options.animation&&e.addClass("fade");var g="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,h=/\s?auto?\s?/i,i=h.test(g);i&&(g=g.replace(h,"")||"top"),e.detach().css({top:0,left:0,display:"block"}).addClass(g).data("bs."+this.type,this),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element);var j=this.getPosition(),k=e[0].offsetWidth,l=e[0].offsetHeight;if(i){var m=g,n=this.$element.parent(),o=this.getPosition(n);g="bottom"==g&&j.top+j.height+l-o.scroll>o.height?"top":"top"==g&&j.top-o.scroll-l<0?"bottom":"right"==g&&j.right+k>o.width?"left":"left"==g&&j.left-kg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.2.0",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").empty()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.2.0",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.2.0",c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.closest("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},c.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one("bsTransitionEnd",e).emulateTransitionEnd(150):e(),f.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(c){c.preventDefault(),b.call(a(this),"show")})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.2.0",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=a(document).height(),d=this.$target.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=b-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){null!=this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:b-this.$element.height()-h}))}}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},d.offsetBottom&&(d.offset.bottom=d.offsetBottom),d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file
diff --git a/api-ref/v1/source/_static/glyphicons-halflings-regular.ttf b/api-ref/v1/source/_static/glyphicons-halflings-regular.ttf
new file mode 100644
index 00000000000..1413fc609ab
Binary files /dev/null and b/api-ref/v1/source/_static/glyphicons-halflings-regular.ttf differ
diff --git a/api-ref/v1/source/_static/glyphicons-halflings-regular.woff b/api-ref/v1/source/_static/glyphicons-halflings-regular.woff
new file mode 100644
index 00000000000..9e612858f80
Binary files /dev/null and b/api-ref/v1/source/_static/glyphicons-halflings-regular.woff differ
diff --git a/api-ref/v1/source/conf.py b/api-ref/v1/source/conf.py
new file mode 100644
index 00000000000..08d5bfa0078
--- /dev/null
+++ b/api-ref/v1/source/conf.py
@@ -0,0 +1,217 @@
+# -*- coding: utf-8 -*-
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# cinder documentation build configuration file, created by
+# sphinx-quickstart on Sat May 1 15:17:47 2010.
+#
+# This file is execfile()d with the current directory set to
+# its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import os
+import subprocess
+import sys
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+sys.path.insert(0, os.path.abspath('../../'))
+sys.path.insert(0, os.path.abspath('../'))
+sys.path.insert(0, os.path.abspath('./'))
+
+# -- General configuration ----------------------------------------------------
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+
+extensions = [
+ 'ext.rest_parameters',
+ 'oslosphinx',
+]
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#
+# source_encoding = 'utf-8'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'Cinder API Reference'
+copyright = u'OpenStack Foundation'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+from cinder.version import version_info
+# The full version, including alpha/beta/rc tags.
+release = version_info.release_string()
+# The short X.Y version.
+version = version_info.version_string()
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+# today = ''
+# Else, today_fmt is used as the format for a strftime call.
+# today_fmt = '%B %d, %Y'
+
+# The reST default role (used for this markup: `text`) to use
+# for all documents.
+# default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+# add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+add_module_names = False
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# -- Options for man page output ----------------------------------------------
+
+# Grouping the document tree for man pages.
+# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual'
+
+
+# -- Options for HTML output --------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. Major themes that come with
+# Sphinx are currently 'default' and 'sphinxdoc'.
+# html_theme_path = ["."]
+# html_theme = '_theme'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+# html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+# html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# " v documentation".
+# html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+# html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+# html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+# html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
+ "-n1"]
+html_last_updated_fmt = subprocess.Popen(
+ git_cmd, stdout=subprocess.PIPE).communicate()[0]
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+# html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+# html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+# html_additional_pages = {}
+
+# If false, no module index is generated.
+# html_use_modindex = True
+
+# If false, no index is generated.
+# html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+# html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+# html_show_sourcelink = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+# html_use_opensearch = ''
+
+# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
+# html_file_suffix = ''
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'cinderdoc'
+
+
+# -- Options for LaTeX output -------------------------------------------------
+
+# The paper size ('letter' or 'a4').
+# latex_paper_size = 'letter'
+
+# The font size ('10pt', '11pt' or '12pt').
+# latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass
+# [howto/manual]).
+latex_documents = [
+ ('index', 'Cinder.tex', u'OpenStack Block Storage API Documentation',
+ u'OpenStack Foundation', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+# latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+# latex_use_parts = False
+
+# Additional stuff for the LaTeX preamble.
+# latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+# latex_appendices = []
+
+# If false, no module index is generated.
+# latex_use_modindex = True
diff --git a/api-ref/v1/source/index.rst b/api-ref/v1/source/index.rst
new file mode 100644
index 00000000000..5b9ad98b2ab
--- /dev/null
+++ b/api-ref/v1/source/index.rst
@@ -0,0 +1,13 @@
+:tocdepth: 2
+
+===============
+Cinder API V1
+===============
+
+.. rest_expand_all::
+
+.. include:: os-quota-sets-v1.inc
+.. include:: volumes-v1-snapshots.inc
+.. include:: volumes-v1-types.inc
+.. include:: volumes-v1-versions.inc
+.. include:: volumes-v1-volumes.inc
diff --git a/api-ref/v1/source/os-quota-sets-v1.inc b/api-ref/v1/source/os-quota-sets-v1.inc
new file mode 100644
index 00000000000..17730761787
--- /dev/null
+++ b/api-ref/v1/source/os-quota-sets-v1.inc
@@ -0,0 +1,402 @@
+.. -*- rst -*-
+
+====================================
+Quota sets extension (os-quota-sets)
+====================================
+
+Administrators only, depending on policy settings.
+
+Shows, updates, and deletes quotas for a tenant.
+
+
+Show quota details for user
+===========================
+
+.. rest_method:: GET /v1/{tenant_id}/os-quota-sets/{tenant_id}/detail/{user_id}
+
+Shows details for quotas for a tenant and user.
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - limit: limit
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/user-quotas-show-detail-response.json
+ :language: javascript
+
+Show default quotas
+===================
+
+.. rest_method:: GET /v1/{tenant_id}/os-quota-sets/defaults
+
+Shows default quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-defaults-show-response.json
+ :language: javascript
+
+
+Show quotas
+===========
+
+.. rest_method:: GET /v1/{tenant_id}/os-quota-sets/{tenant_id}
+
+Shows quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - usage: usage
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-show-response.json
+ :language: javascript
+
+
+Update quotas
+=============
+
+.. rest_method:: PUT /v1/{tenant_id}/os-quota-sets/{tenant_id}
+
+Updates quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - id: id
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - injected_file_path_bytes: injected_file_path_bytes
+ - security_groups: security_groups
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/quotas-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-update-response.json
+ :language: javascript
+
+
+Delete quotas
+=============
+
+.. rest_method:: DELETE /v1/{tenant_id}/os-quota-sets/{tenant_id}
+
+Deletes quotas for a tenant so the quotas revert to default values.
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/user-quotas-delete-response.json
+ :language: javascript
+
+Show quotas for user
+====================
+
+.. rest_method:: GET /v1/{tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Enables an admin user to show quotas for a tenant and user.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/user-quotas-show-response.json
+ :language: javascript
+
+
+
+
+Update quotas for user
+======================
+
+.. rest_method:: POST /v1/{tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Updates quotas for a tenant and user.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - id: id
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - injected_file_path_bytes: injected_file_path_bytes
+ - security_groups: security_groups
+ - tenant_id: tenant_id
+ - user_id: user_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/user-quotas-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/user-quotas-update-response.json
+ :language: javascript
+
+
+Delete quotas for user
+======================
+
+.. rest_method:: DELETE /v1/{tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Deletes quotas for a user so that the quotas revert to default values.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/user-quotas-delete-response.json
+ :language: javascript
diff --git a/api-ref/v1/source/parameters.yaml b/api-ref/v1/source/parameters.yaml
new file mode 100644
index 00000000000..6409f2faa9e
--- /dev/null
+++ b/api-ref/v1/source/parameters.yaml
@@ -0,0 +1,642 @@
+# variables in header
+x-openstack-request-id:
+ description: >
+ foo
+ in: header
+ required: false
+ type: string
+
+# variables in path
+snapshot_id_1:
+ description: |
+ The UUID of the snapshot.
+ in: path
+ required: false
+ type: string
+tenant_id:
+ description: |
+ The UUID of the tenant in a multi-tenancy cloud.
+ in: path
+ required: false
+ type: string
+user_id:
+ description: |
+ The user ID. Specify in the URI as
+ ``user_id={user_id}``.
+ in: path
+ required: false
+ type: string
+volume_id:
+ description: |
+ The UUID of the volume.
+ in: path
+ required: false
+ type: string
+volume_type_id:
+ description: |
+ The UUID for an existing volume type.
+ in: path
+ required: false
+ type: string
+
+# variables in query
+usage:
+ description: |
+ Set to ``usage=true`` to show quota usage.
+ Default is ``false``.
+ in: query
+ required: false
+ type: boolean
+
+# variables in body
+attachments:
+ description: |
+ Instance attachment information. If this volume
+ is attached to a server instance, the attachments list includes
+ the UUID of the attached server, an attachment UUID, the name of
+ the attached host, if any, the volume UUID, the device, and the
+ device UUID. Otherwise, this list is empty.
+ in: body
+ required: true
+ type: array
+availability_zone:
+ description: |
+ The availability zone.
+ in: body
+ required: false
+ type: string
+availability_zone_1:
+ description: |
+ The availability zone.
+ in: body
+ required: true
+ type: string
+bootable:
+ description: |
+ Enables or disables the bootable attribute. You
+ can boot an instance from a bootable volume.
+ in: body
+ required: true
+ type: boolean
+consistencygroup_id:
+ description: |
+ The UUID of the consistency group.
+ in: body
+ required: false
+ type: string
+consistencygroup_id_1:
+ description: |
+ The UUID of the consistency group.
+ in: body
+ required: true
+ type: string
+cores:
+ description: |
+ The number of instance cores that are allowed for
+ each tenant.
+ in: body
+ required: true
+ type: integer
+cores_1:
+ description: |
+ A ``cores`` object.
+ in: body
+ required: true
+ type: string
+cores_2:
+ description: |
+ The number of instance cores that are allowed for
+ each tenant.
+ in: body
+ required: false
+ type: integer
+created_at:
+ description: |
+ The date and time when the resource was created.
+
+ The date and time stamp format is `ISO 8601
+ `_:
+
+ ::
+
+ CCYY-MM-DDThh:mm:ss±hh:mm
+
+ For example, ``2015-08-27T09:49:58-05:00``.
+
+ The ``±hh:mm`` value, if included, is the time zone as an offset
+ from UTC.
+ in: body
+ required: true
+ type: string
+description:
+ description: |
+ The volume description.
+ in: body
+ required: false
+ type: string
+description_1:
+ description: |
+ The volume description.
+ in: body
+ required: true
+ type: string
+encrypted:
+ description: |
+ If true, this volume is encrypted.
+ in: body
+ required: true
+ type: boolean
+extra_specs:
+ description: |
+ A set of key and value pairs that contains the
+ specifications for a volume type.
+ in: body
+ required: true
+ type: object
+fixed_ips:
+ description: |
+ The number of fixed IP addresses that are allowed
+ for each tenant. Must be equal to or greater than the number of
+ allowed instances.
+ in: body
+ required: true
+ type: integer
+fixed_ips_1:
+ description: |
+ A ``fixed_ips`` object.
+ in: body
+ required: true
+ type: string
+fixed_ips_2:
+ description: |
+ The number of fixed IP addresses that are allowed
+ for each tenant. Must be equal to or greater than the number of
+ allowed instances.
+ in: body
+ required: false
+ type: integer
+floating_ips:
+ description: |
+ The number of floating IP addresses that are
+ allowed for each tenant.
+ in: body
+ required: true
+ type: integer
+floating_ips_1:
+ description: |
+ A ``floating_ips`` object.
+ in: body
+ required: true
+ type: string
+floating_ips_2:
+ description: |
+ The number of floating IP addresses that are
+ allowed for each tenant.
+ in: body
+ required: false
+ type: integer
+id:
+ description: |
+ The UUID of the volume.
+ in: body
+ required: true
+ type: string
+id_1:
+ description: |
+ The ID for the quota set.
+ in: body
+ required: true
+ type: integer
+id_2:
+ description: |
+ The ID for the quota set.
+ in: body
+ required: true
+ type: string
+id_3:
+ description: |
+ The ID for the quota set.
+ in: body
+ required: false
+ type: integer
+imageRef:
+ description: |
+ The UUID of the image from which you want to
+ create the volume. Required to create a bootable volume.
+ in: body
+ required: false
+ type: string
+in_use:
+ description: |
+ The in use data size. Visible only if you set the
+ ``usage=true`` query parameter.
+ in: body
+ required: false
+ type: string
+in_use_1:
+ description: |
+ The number of items in use.
+ in: body
+ required: true
+ type: integer
+injected_file_content_bytes:
+ description: |
+ The number of bytes of content that are allowed
+ for each injected file.
+ in: body
+ required: true
+ type: integer
+injected_file_content_bytes_1:
+ description: |
+ An ``injected_file_content_bytes`` object.
+ in: body
+ required: true
+ type: string
+injected_file_content_bytes_2:
+ description: |
+ The number of bytes of content that are allowed
+ for each injected file.
+ in: body
+ required: false
+ type: integer
+injected_file_path_bytes:
+ description: |
+ The number of bytes that are allowed for each
+ injected file path.
+ in: body
+ required: true
+ type: integer
+injected_file_path_bytes_1:
+ description: |
+ An ``injected_file_path_bytes`` object.
+ in: body
+ required: true
+ type: string
+injected_file_path_bytes_2:
+ description: |
+ The number of bytes that are allowed for each
+ injected file path.
+ in: body
+ required: false
+ type: integer
+injected_files:
+ description: |
+ The number of injected files that are allowed for
+ each tenant.
+ in: body
+ required: true
+ type: integer
+injected_files_1:
+ description: |
+ An ``injected_files`` object.
+ in: body
+ required: true
+ type: string
+injected_files_2:
+ description: |
+ The number of injected files that are allowed for
+ each tenant.
+ in: body
+ required: false
+ type: integer
+instances:
+ description: |
+ The number of instances that are allowed for each
+ tenant.
+ in: body
+ required: true
+ type: integer
+instances_1:
+ description: |
+ An ``instances`` object.
+ in: body
+ required: true
+ type: string
+instances_2:
+ description: |
+ The number of instances that are allowed for each
+ tenant.
+ in: body
+ required: false
+ type: integer
+key_pairs:
+ description: |
+ The number of key pairs that are allowed for each
+ user.
+ in: body
+ required: true
+ type: integer
+key_pairs_1:
+ description: |
+ A ``key_pairs`` object.
+ in: body
+ required: true
+ type: string
+key_pairs_2:
+ description: |
+ The number of key pairs that are allowed for each
+ user.
+ in: body
+ required: false
+ type: integer
+limit:
+ description: |
+ The number of items permitted for this tenant.
+ in: body
+ required: true
+ type: integer
+links:
+ description: |
+ The volume links.
+ in: body
+ required: true
+ type: array
+metadata:
+ description: |
+ One or more metadata key and value pairs that are
+ associated with the volume.
+ in: body
+ required: false
+ type: object
+metadata_1:
+ description: |
+ One or more metadata key and value pairs that are
+ associated with the volume.
+ in: body
+ required: true
+ type: object
+metadata_2:
+ description: |
+ One or more metadata key and value pairs for the
+ snapshot.
+ in: body
+ required: false
+ type: object
+metadata_items:
+ description: |
+ The number of metadata items that are allowed for
+ each instance.
+ in: body
+ required: true
+ type: integer
+metadata_items_1:
+ description: |
+ A ``metadata_items`` object.
+ in: body
+ required: true
+ type: string
+metadata_items_2:
+ description: |
+ The number of metadata items that are allowed for
+ each instance.
+ in: body
+ required: false
+ type: integer
+migration_status:
+ description: |
+ The volume migration status.
+ in: body
+ required: true
+ type: string
+multiattach:
+ description: |
+ To enable this volume to attach to more than one
+ server, set this value to ``true``. Default is ``false``.
+ in: body
+ required: false
+ type: boolean
+multiattach_1:
+ description: |
+ If true, this volume can attach to more than one
+ instance.
+ in: body
+ required: true
+ type: boolean
+name:
+ description: |
+ The name of the volume type.
+ in: body
+ required: true
+ type: string
+name_1:
+ description: |
+ The volume name.
+ in: body
+ required: false
+ type: string
+name_2:
+ description: |
+ The volume name.
+ in: body
+ required: true
+ type: string
+quota_set:
+ description: |
+ A ``quota_set`` object.
+ in: body
+ required: true
+ type: object
+quota_set_1:
+ description: |
+ A ``quota_set`` object.
+ in: body
+ required: true
+ type: string
+ram:
+ description: |
+ The amount of instance RAM in megabytes that are
+ allowed for each tenant.
+ in: body
+ required: true
+ type: integer
+ram_1:
+ description: |
+ A ``ram`` object.
+ in: body
+ required: true
+ type: string
+ram_2:
+ description: |
+ The amount of instance RAM in megabytes that are
+ allowed for each tenant.
+ in: body
+ required: false
+ type: integer
+replication_status:
+ description: |
+ The volume replication status.
+ in: body
+ required: true
+ type: string
+reserved:
+ description: |
+ Reserved volume size. Visible only if you set the
+ ``usage=true`` query parameter.
+ in: body
+ required: false
+ type: integer
+reserved_1:
+ description: |
+ The number of reserved items.
+ in: body
+ required: true
+ type: integer
+scheduler_hints:
+ description: |
+ The dictionary of data to send to the scheduler.
+ in: body
+ required: false
+ type: object
+security_group_rules:
+ description: |
+ The number of rules that are allowed for each
+ security group.
+ in: body
+ required: false
+ type: integer
+security_group_rules_1:
+ description: |
+ A ``security_group_rules`` object.
+ in: body
+ required: true
+ type: string
+security_groups:
+ description: |
+ The number of security groups that are allowed
+ for each tenant.
+ in: body
+ required: true
+ type: integer
+security_groups_1:
+ description: |
+ A ``security_groups`` object.
+ in: body
+ required: true
+ type: string
+security_groups_2:
+ description: |
+ The number of security groups that are allowed
+ for each tenant.
+ in: body
+ required: false
+ type: integer
+size:
+ description: |
+ The size of the volume, in gibibytes (GiB).
+ in: body
+ required: true
+ type: integer
+snapshot:
+ description: |
+ A ``snapshot`` object.
+ in: body
+ required: true
+ type: object
+snapshot_id:
+ description: |
+ To create a volume from an existing snapshot,
+ specify the UUID of the volume snapshot. The volume is created in
+ same availability zone and with same size as the snapshot.
+ in: body
+ required: false
+ type: string
+snapshot_id_2:
+ description: |
+ The UUID of the source volume snapshot. The API
+ creates a new volume snapshot with the same size as the source
+ volume snapshot.
+ in: body
+ required: true
+ type: string
+source_replica:
+ description: |
+ The UUID of the primary volume to clone.
+ in: body
+ required: false
+ type: string
+source_volid:
+ description: |
+ The UUID of the source volume. The API creates a
+ new volume with the same size as the source volume.
+ in: body
+ required: false
+ type: string
+source_volid_1:
+ description: |
+ The UUID of the source volume.
+ in: body
+ required: true
+ type: string
+status:
+ description: |
+ The volume status.
+ in: body
+ required: true
+ type: string
+updated_at:
+ description: |
+ The date and time when the resource was updated.
+
+ The date and time stamp format is `ISO 8601
+ `_:
+
+ ::
+
+ CCYY-MM-DDThh:mm:ss±hh:mm
+
+ For example, ``2015-08-27T09:49:58-05:00``.
+
+ The ``±hh:mm`` value, if included, is the time zone as an offset
+ from UTC. In the previous example, the offset value is ``-05:00``.
+
+ If the ``updated_at`` date and time stamp is not set, its value is
+ ``null``.
+ in: body
+ required: true
+ type: string
+user_id_1:
+ description: |
+ The UUID of the user.
+ in: body
+ required: true
+ type: string
+volume:
+ description: |
+ A ``volume`` object.
+ in: body
+ required: true
+ type: object
+volume_type:
+ description: |
+ The volume type. To create an environment with
+ multiple-storage back ends, you must specify a volume type. Block
+ Storage volume back ends are spawned as children to ``cinder-
+ volume``, and they are keyed from a unique queue. They are named
+ ``cinder- volume.HOST.BACKEND``. For example, ``cinder-
+ volume.ubuntu.lvmdriver``. When a volume is created, the scheduler
+ chooses an appropriate back end to handle the request based on the
+ volume type. Default is ``None``. For information about how to
+ use volume types to create multiple- storage back ends, see
+ `Configure multiple-storage back ends
+ `_.
+ in: body
+ required: false
+ type: string
+volume_type_1:
+ description: |
+ The volume type. In an environment with multiple-
+ storage back ends, the scheduler determines where to send the
+ volume based on the volume type. For information about how to use
+ volume types to create multiple- storage back ends, see `Configure
+ multiple-storage back ends `_.
+ in: body
+ required: true
+ type: string
+volumes:
+ description: |
+ A list of ``volume`` objects.
+ in: body
+ required: true
+ type: array
diff --git a/api-ref/v1/source/samples/quotas-defaults-show-response.json b/api-ref/v1/source/samples/quotas-defaults-show-response.json
new file mode 100644
index 00000000000..239c64d23d4
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-defaults-show-response.json
@@ -0,0 +1,17 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "fixed_ips": -1,
+ "floating_ips": 10,
+ "id": "fake_tenant",
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 10,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v1/source/samples/quotas-defaults-show-response.xml b/api-ref/v1/source/samples/quotas-defaults-show-response.xml
new file mode 100644
index 00000000000..76a9292c137
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-defaults-show-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v1/source/samples/quotas-show-response.json b/api-ref/v1/source/samples/quotas-show-response.json
new file mode 100644
index 00000000000..239c64d23d4
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-show-response.json
@@ -0,0 +1,17 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "fixed_ips": -1,
+ "floating_ips": 10,
+ "id": "fake_tenant",
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 10,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v1/source/samples/quotas-show-response.xml b/api-ref/v1/source/samples/quotas-show-response.xml
new file mode 100644
index 00000000000..76a9292c137
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-show-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v1/source/samples/quotas-update-request.json b/api-ref/v1/source/samples/quotas-update-request.json
new file mode 100644
index 00000000000..1f12caa0450
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-update-request.json
@@ -0,0 +1,5 @@
+{
+ "quota_set": {
+ "security_groups": 45
+ }
+}
diff --git a/api-ref/v1/source/samples/quotas-update-request.xml b/api-ref/v1/source/samples/quotas-update-request.xml
new file mode 100644
index 00000000000..596ce56ac36
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-update-request.xml
@@ -0,0 +1,4 @@
+
+
+ 45
+
diff --git a/api-ref/v1/source/samples/quotas-update-response.json b/api-ref/v1/source/samples/quotas-update-response.json
new file mode 100644
index 00000000000..2be76d47215
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-update-response.json
@@ -0,0 +1,16 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "fixed_ips": -1,
+ "floating_ips": 10,
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 10,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 45
+ }
+}
diff --git a/api-ref/v1/source/samples/quotas-update-response.xml b/api-ref/v1/source/samples/quotas-update-response.xml
new file mode 100644
index 00000000000..e03a0bf5e4b
--- /dev/null
+++ b/api-ref/v1/source/samples/quotas-update-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 45
+
diff --git a/api-ref/v1/source/samples/snapshot-create-request.json b/api-ref/v1/source/samples/snapshot-create-request.json
new file mode 100644
index 00000000000..cc8ce2865f8
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-create-request.json
@@ -0,0 +1,8 @@
+{
+ "snapshot": {
+ "display_name": "snap-001",
+ "display_description": "Daily backup",
+ "volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "force": true
+ }
+}
diff --git a/api-ref/v1/source/samples/snapshot-create-request.xml b/api-ref/v1/source/samples/snapshot-create-request.xml
new file mode 100644
index 00000000000..911667a7b3f
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-create-request.xml
@@ -0,0 +1,6 @@
+
+
diff --git a/api-ref/v1/source/samples/snapshot-metadata-show-response.json b/api-ref/v1/source/samples/snapshot-metadata-show-response.json
new file mode 100644
index 00000000000..68c54641dc3
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-show-response.json
@@ -0,0 +1,16 @@
+{
+ "snapshot": {
+ "status": "available",
+ "os-extended-snapshot-attributes:progress": "0%",
+ "description": null,
+ "created_at": "2014-05-06T17:59:52.000000",
+ "metadata": {
+ "key": "v1"
+ },
+ "volume_id": "ebd80b99-bc3d-4154-9d28-5583baa80580",
+ "os-extended-snapshot-attributes:project_id": "7e0105e19cd2466193729ef78b604f79",
+ "size": 10,
+ "id": "dfcd17fe-3b64-44ba-b95f-1c9c7109ef95",
+ "name": "my-snapshot"
+ }
+}
diff --git a/api-ref/v1/source/samples/snapshot-metadata-show-response.xml b/api-ref/v1/source/samples/snapshot-metadata-show-response.xml
new file mode 100644
index 00000000000..c8e002424d0
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-show-response.xml
@@ -0,0 +1,13 @@
+
+
+
+ v1
+
+
diff --git a/api-ref/v1/source/samples/snapshot-metadata-update-request.json b/api-ref/v1/source/samples/snapshot-metadata-update-request.json
new file mode 100644
index 00000000000..75accc1a63d
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-update-request.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "key": "v1"
+ }
+}
diff --git a/api-ref/v1/source/samples/snapshot-metadata-update-request.xml b/api-ref/v1/source/samples/snapshot-metadata-update-request.xml
new file mode 100644
index 00000000000..cbcf6b27344
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-update-request.xml
@@ -0,0 +1,4 @@
+
+
+ v1
+
diff --git a/api-ref/v1/source/samples/snapshot-metadata-update-response.json b/api-ref/v1/source/samples/snapshot-metadata-update-response.json
new file mode 100644
index 00000000000..75accc1a63d
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-update-response.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "key": "v1"
+ }
+}
diff --git a/api-ref/v1/source/samples/snapshot-metadata-update-response.xml b/api-ref/v1/source/samples/snapshot-metadata-update-response.xml
new file mode 100644
index 00000000000..31535fda410
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-metadata-update-response.xml
@@ -0,0 +1,4 @@
+
+
+ v1
+
diff --git a/api-ref/v1/source/samples/snapshot-show-response.json b/api-ref/v1/source/samples/snapshot-show-response.json
new file mode 100644
index 00000000000..f1514e86093
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-show-response.json
@@ -0,0 +1,11 @@
+{
+ "snapshot": {
+ "id": "3fbbcccf-d058-4502-8844-6feeffdf4cb5",
+ "display_name": "snap-001",
+ "display_description": "Daily backup",
+ "volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "status": "available",
+ "size": 30,
+ "created_at": "2012-02-29T03:50:07Z"
+ }
+}
diff --git a/api-ref/v1/source/samples/snapshot-show-response.xml b/api-ref/v1/source/samples/snapshot-show-response.xml
new file mode 100644
index 00000000000..c37ab2ed3a6
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshot-show-response.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/api-ref/v1/source/samples/snapshots-list-response.json b/api-ref/v1/source/samples/snapshots-list-response.json
new file mode 100644
index 00000000000..d148577e19e
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshots-list-response.json
@@ -0,0 +1,26 @@
+{
+ "snapshots": [
+ {
+ "id": "3fbbcccf-d058-4502-8844-6feeffdf4cb5",
+ "display_name": "snap-001",
+ "display_description": "Daily backup",
+ "volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "status": "available",
+ "size": 30,
+ "created_at": "2012-02-29T03:50:07Z",
+ "metadata": {
+ "contents": "junk"
+ }
+ },
+ {
+ "id": "e479997c-650b-40a4-9dfe-77655818b0d2",
+ "display_name": "snap-002",
+ "display_description": "Weekly backup",
+ "volume_id": "76b8950a-8594-4e5b-8dce-0dfa9c696358",
+ "status": "available",
+ "size": 25,
+ "created_at": "2012-03-19T01:52:47Z",
+ "metadata": {}
+ }
+ ]
+}
diff --git a/api-ref/v1/source/samples/snapshots-list-response.xml b/api-ref/v1/source/samples/snapshots-list-response.xml
new file mode 100644
index 00000000000..2e103ff6b23
--- /dev/null
+++ b/api-ref/v1/source/samples/snapshots-list-response.xml
@@ -0,0 +1,21 @@
+
+
+
+
+ junk
+
+
+
+
diff --git a/api-ref/v1/source/samples/user-quotas-delete-response.json b/api-ref/v1/source/samples/user-quotas-delete-response.json
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/api-ref/v1/source/samples/user-quotas-show-detail-response.json b/api-ref/v1/source/samples/user-quotas-show-detail-response.json
new file mode 100644
index 00000000000..53ecff0ba81
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-show-detail-response.json
@@ -0,0 +1,64 @@
+{
+ "quota_set": {
+ "cores": {
+ "in_use": 0,
+ "limit": 20,
+ "reserved": 0
+ },
+ "fixed_ips": {
+ "in_use": 0,
+ "limit": -1,
+ "reserved": 0
+ },
+ "floating_ips": {
+ "in_use": 0,
+ "limit": 10,
+ "reserved": 0
+ },
+ "injected_files": {
+ "in_use": 0,
+ "limit": 5,
+ "reserved": 0
+ },
+ "instances": {
+ "in_use": 0,
+ "limit": 10,
+ "reserved": 0
+ },
+ "key_pairs": {
+ "in_use": 0,
+ "limit": 100,
+ "reserved": 0
+ },
+ "metadata_items": {
+ "in_use": 0,
+ "limit": 128,
+ "reserved": 0
+ },
+ "ram": {
+ "in_use": 0,
+ "limit": 51200,
+ "reserved": 0
+ },
+ "security_groups": {
+ "in_use": 0,
+ "limit": 10,
+ "reserved": 0
+ },
+ "injected_file_content_bytes": {
+ "in_use": 0,
+ "limit": 10240,
+ "reserved": 0
+ },
+ "injected_file_path_bytes": {
+ "in_use": 0,
+ "limit": 255,
+ "reserved": 0
+ },
+ "security_group_rules": {
+ "in_use": 0,
+ "limit": 20,
+ "reserved": 0
+ }
+ }
+}
diff --git a/api-ref/v1/source/samples/user-quotas-show-response.json b/api-ref/v1/source/samples/user-quotas-show-response.json
new file mode 100644
index 00000000000..239c64d23d4
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-show-response.json
@@ -0,0 +1,17 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "fixed_ips": -1,
+ "floating_ips": 10,
+ "id": "fake_tenant",
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 10,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v1/source/samples/user-quotas-show-response.xml b/api-ref/v1/source/samples/user-quotas-show-response.xml
new file mode 100644
index 00000000000..76a9292c137
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-show-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v1/source/samples/user-quotas-update-request.json b/api-ref/v1/source/samples/user-quotas-update-request.json
new file mode 100644
index 00000000000..6e5195f9ac8
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-update-request.json
@@ -0,0 +1,6 @@
+{
+ "quota_set": {
+ "force": true,
+ "instances": 9
+ }
+}
diff --git a/api-ref/v1/source/samples/user-quotas-update-request.xml b/api-ref/v1/source/samples/user-quotas-update-request.xml
new file mode 100644
index 00000000000..dd58ed24d0c
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-update-request.xml
@@ -0,0 +1,5 @@
+
+
+ true
+ 9
+
diff --git a/api-ref/v1/source/samples/user-quotas-update-response.json b/api-ref/v1/source/samples/user-quotas-update-response.json
new file mode 100644
index 00000000000..5539332927e
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-update-response.json
@@ -0,0 +1,16 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "floating_ips": 10,
+ "fixed_ips": -1,
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 9,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v1/source/samples/user-quotas-update-response.xml b/api-ref/v1/source/samples/user-quotas-update-response.xml
new file mode 100644
index 00000000000..43c36c7da31
--- /dev/null
+++ b/api-ref/v1/source/samples/user-quotas-update-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ 10
+ -1
+ 10240
+ 255
+ 5
+ 9
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v1/source/samples/version-show-response.json b/api-ref/v1/source/samples/version-show-response.json
new file mode 100644
index 00000000000..63c8957a20f
--- /dev/null
+++ b/api-ref/v1/source/samples/version-show-response.json
@@ -0,0 +1,28 @@
+{
+ "version": {
+ "id": "v1.0",
+ "links": [
+ {
+ "href": "http://23.253.211.234:8776/v1/",
+ "rel": "self"
+ },
+ {
+ "href": "http://docs.openstack.org/",
+ "rel": "describedby",
+ "type": "text/html"
+ }
+ ],
+ "media-types": [
+ {
+ "base": "application/xml",
+ "type": "application/vnd.openstack.volume+xml;version=1"
+ },
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "status": "DEPRECATED",
+ "updated": "2014-06-28T12:20:21Z"
+ }
+}
diff --git a/api-ref/v1/source/samples/versions-list-response.json b/api-ref/v1/source/samples/versions-list-response.json
new file mode 100644
index 00000000000..29b36bd1760
--- /dev/null
+++ b/api-ref/v1/source/samples/versions-list-response.json
@@ -0,0 +1,26 @@
+{
+ "versions": [
+ {
+ "id": "v1.0",
+ "links": [
+ {
+ "href": "http://23.253.211.234:8776/v1/",
+ "rel": "self"
+ }
+ ],
+ "status": "DEPRECATED",
+ "updated": "2014-06-28T12:20:21Z"
+ },
+ {
+ "id": "v2.0",
+ "links": [
+ {
+ "href": "http://23.253.211.234:8776/v2/",
+ "rel": "self"
+ }
+ ],
+ "status": "CURRENT",
+ "updated": "2012-11-21T11:33:21Z"
+ }
+ ]
+}
diff --git a/api-ref/v1/source/samples/volume-create-request.json b/api-ref/v1/source/samples/volume-create-request.json
new file mode 100644
index 00000000000..fbbfe360cf2
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-create-request.json
@@ -0,0 +1,12 @@
+{
+ "volume": {
+ "display_name": "vol-001",
+ "display_description": "Another volume.",
+ "size": 30,
+ "volume_type": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "metadata": {
+ "contents": "junk"
+ },
+ "availability_zone": "us-east1"
+ }
+}
diff --git a/api-ref/v1/source/samples/volume-create-request.xml b/api-ref/v1/source/samples/volume-create-request.xml
new file mode 100644
index 00000000000..46d6c9be307
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-create-request.xml
@@ -0,0 +1,11 @@
+
+
+
+ junk
+
+
diff --git a/api-ref/v1/source/samples/volume-show-response.json b/api-ref/v1/source/samples/volume-show-response.json
new file mode 100644
index 00000000000..0118c2fe21e
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-show-response.json
@@ -0,0 +1,27 @@
+{
+ "volume": {
+ "id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "display_name": "vol-001",
+ "display_description": "Another volume.",
+ "status": "active",
+ "size": 30,
+ "volume_type": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "metadata": {
+ "contents": "junk"
+ },
+ "availability_zone": "us-east1",
+ "bootable": "false",
+ "snapshot_id": null,
+ "attachments": [
+ {
+ "attachment_id": "03987cd1-0ad5-40d1-9b2a-7cc48295d4fa",
+ "id": "47e9ecc5-4045-4ee3-9a4b-d859d546a0cf",
+ "volume_id": "6c80f8ac-e3e2-480c-8e6e-f1db92fe4bfe",
+ "server_id": "d1c4788b-9435-42e2-9b81-29f3be1cd01f",
+ "host_name": "mitaka",
+ "device": "/"
+ }
+ ],
+ "created_at": "2012-02-14T20:53:07Z"
+ }
+}
diff --git a/api-ref/v1/source/samples/volume-show-response.xml b/api-ref/v1/source/samples/volume-show-response.xml
new file mode 100644
index 00000000000..7dc246265d1
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-show-response.xml
@@ -0,0 +1,15 @@
+
+
+
+ junk
+
+
diff --git a/api-ref/v1/source/samples/volume-type-create-request.json b/api-ref/v1/source/samples/volume-type-create-request.json
new file mode 100644
index 00000000000..af7e47f6ba6
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-type-create-request.json
@@ -0,0 +1,8 @@
+{
+ "volume_type": {
+ "name": "vol-type-001",
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v1/source/samples/volume-type-create-request.xml b/api-ref/v1/source/samples/volume-type-create-request.xml
new file mode 100644
index 00000000000..dfe9b37a352
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-type-create-request.xml
@@ -0,0 +1,7 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v1/source/samples/volume-type-show-response.json b/api-ref/v1/source/samples/volume-type-show-response.json
new file mode 100644
index 00000000000..a91f2e94d63
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-type-show-response.json
@@ -0,0 +1,9 @@
+{
+ "volume_type": {
+ "id": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "name": "vol-type-001",
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v1/source/samples/volume-type-show-response.xml b/api-ref/v1/source/samples/volume-type-show-response.xml
new file mode 100644
index 00000000000..1c4291d08f1
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-type-show-response.xml
@@ -0,0 +1,8 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v1/source/samples/volume-types-list-response.json b/api-ref/v1/source/samples/volume-types-list-response.json
new file mode 100644
index 00000000000..dc4ae504670
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-types-list-response.json
@@ -0,0 +1,16 @@
+{
+ "volume_types": [
+ {
+ "id": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "name": "vol-type-001",
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ },
+ {
+ "id": "96c3bda7-c82a-4f50-be73-ca7621794835",
+ "name": "vol-type-002",
+ "extra_specs": {}
+ }
+ ]
+}
diff --git a/api-ref/v1/source/samples/volume-types-list-response.xml b/api-ref/v1/source/samples/volume-types-list-response.xml
new file mode 100644
index 00000000000..edde1f67598
--- /dev/null
+++ b/api-ref/v1/source/samples/volume-types-list-response.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ gpu
+
+
+
+
diff --git a/api-ref/v1/source/samples/volumes-list-response.json b/api-ref/v1/source/samples/volumes-list-response.json
new file mode 100644
index 00000000000..0523be7aa06
--- /dev/null
+++ b/api-ref/v1/source/samples/volumes-list-response.json
@@ -0,0 +1,41 @@
+{
+ "volumes": [
+ {
+ "id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "display_name": "vol-001",
+ "display_description": "Another volume.",
+ "status": "active",
+ "size": 30,
+ "volume_type": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "metadata": {
+ "contents": "junk"
+ },
+ "availability_zone": "us-east1",
+ "snapshot_id": null,
+ "attachments": [
+ {
+ "attachment_id": "03987cd1-0ad5-40d1-9b2a-7cc48295d4fa",
+ "id": "47e9ecc5-4045-4ee3-9a4b-d859d546a0cf",
+ "volume_id": "6c80f8ac-e3e2-480c-8e6e-f1db92fe4bfe",
+ "server_id": "d1c4788b-9435-42e2-9b81-29f3be1cd01f",
+ "host_name": "mitaka",
+ "device": "/"
+ }
+ ],
+ "created_at": "2012-02-14T20:53:07Z"
+ },
+ {
+ "id": "76b8950a-8594-4e5b-8dce-0dfa9c696358",
+ "display_name": "vol-002",
+ "display_description": "Yet another volume.",
+ "status": "active",
+ "size": 25,
+ "volume_type": "96c3bda7-c82a-4f50-be73-ca7621794835",
+ "metadata": {},
+ "availability_zone": "us-east2",
+ "snapshot_id": null,
+ "attachments": [],
+ "created_at": "2012-03-15T19:10:03Z"
+ }
+ ]
+}
diff --git a/api-ref/v1/source/samples/volumes-list-response.xml b/api-ref/v1/source/samples/volumes-list-response.xml
new file mode 100644
index 00000000000..0e20c3ed626
--- /dev/null
+++ b/api-ref/v1/source/samples/volumes-list-response.xml
@@ -0,0 +1,25 @@
+
+
+
+
+ junk
+
+
+
+
diff --git a/api-ref/v1/source/volumes-v1-snapshots.inc b/api-ref/v1/source/volumes-v1-snapshots.inc
new file mode 100644
index 00000000000..2866b27902b
--- /dev/null
+++ b/api-ref/v1/source/volumes-v1-snapshots.inc
@@ -0,0 +1,188 @@
+.. -*- rst -*-
+
+=========
+Snapshots
+=========
+
+Creates, lists, shows information for, and deletes snapshots. Shows
+and updates snapshot metadata.
+
+
+Show snapshot details
+=====================
+
+.. rest_method:: GET /v1/{tenant_id}/snapshots/{snapshot_id}
+
+Shows details for a snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-show-response.json
+ :language: javascript
+
+
+Delete snapshot
+===============
+
+.. rest_method:: DELETE /v1/{tenant_id}/snapshots/{snapshot_id}
+
+Deletes a snapshot.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+
+List snapshots with details
+===========================
+
+.. rest_method:: GET /v1/{tenant_id}/snapshots/detail
+
+Lists all snapshots, with details.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshots-list-response.json
+ :language: javascript
+
+
+Create snapshot
+===============
+
+.. rest_method:: POST /v1/{tenant_id}/snapshots
+
+Creates a snapshot.
+
+Error response codes:201,
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - snapshot: snapshot
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/snapshot-create-request.json
+ :language: javascript
+
+List snapshots
+==============
+
+.. rest_method:: GET /v1/{tenant_id}/snapshots
+
+Lists all snapshots.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshots-list-response.json
+ :language: javascript
+
+
+Show snapshot metadata
+======================
+
+.. rest_method:: GET /v1/{tenant_id}/snapshots/{snapshot_id}/metadata
+
+Shows metadata for a snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-metadata-show-response.json
+ :language: javascript
+
+
+Update snapshot metadata
+========================
+
+.. rest_method:: PUT /v1/{tenant_id}/snapshots/{snapshot_id}/metadata
+
+Updates metadata for a snapshot.
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/snapshot-metadata-update-request.json
+ :language: javascript
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-metadata-update-response.json
+ :language: javascript
diff --git a/api-ref/v1/source/volumes-v1-types.inc b/api-ref/v1/source/volumes-v1-types.inc
new file mode 100644
index 00000000000..3f1abe20a2d
--- /dev/null
+++ b/api-ref/v1/source/volumes-v1-types.inc
@@ -0,0 +1,218 @@
+.. -*- rst -*-
+
+============
+Volume types
+============
+
+Lists, creates, updates, shows information for, and deletes volume
+types.
+
+
+List volume types
+=================
+
+.. rest_method:: GET /v1/{tenant_id}/types
+
+Lists volume types.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-types-list-response.json
+ :language: javascript
+
+
+Create volume type
+==================
+
+.. rest_method:: POST /v1/{tenant_id}/types
+
+Creates a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-create-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Update volume type
+==================
+
+.. rest_method:: PUT /v1/{tenant_id}/types/{volume_type_id}
+
+Updates a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+ - tenant_id: tenant_id
+ - volume_type_id: volume_type_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-create-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Update extra specs for a volume type
+====================================
+
+.. rest_method:: PUT /v1/{tenant_id}/types/{volume_type_id}
+
+Updates the extra specifications for a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+ - tenant_id: tenant_id
+ - volume_type_id: volume_type_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-create-request.json
+ :language: javascript
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Show volume type details
+========================
+
+.. rest_method:: GET /v1/{tenant_id}/types/{volume_type_id}
+
+Shows details for a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_type_id: volume_type_id
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Delete volume type
+==================
+
+.. rest_method:: DELETE /v1/{tenant_id}/types/{volume_type_id}
+
+Deletes a volume type.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_type_id: volume_type_id
diff --git a/api-ref/v1/source/volumes-v1-versions.inc b/api-ref/v1/source/volumes-v1-versions.inc
new file mode 100644
index 00000000000..693a4f3e1f7
--- /dev/null
+++ b/api-ref/v1/source/volumes-v1-versions.inc
@@ -0,0 +1,54 @@
+.. -*- rst -*-
+
+============
+API versions
+============
+
+Lists information about API versions.
+
+
+Show API v1 details
+===================
+
+.. rest_method:: GET /v1
+
+Shows Block Storage API v1 details.
+
+
+Normal response codes: 200
+Error response codes:203,
+
+
+Request
+-------
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/version-show-response.json
+ :language: javascript
+
+
+List API versions
+=================
+
+.. rest_method:: GET /
+
+Lists information about all Block Storage API versions.
+
+
+Normal response codes: 200
+Error response codes:300,
+
+
+Request
+-------
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/versions-list-response.json
+ :language: javascript
diff --git a/api-ref/v1/source/volumes-v1-volumes.inc b/api-ref/v1/source/volumes-v1-volumes.inc
new file mode 100644
index 00000000000..f1dfcade9dc
--- /dev/null
+++ b/api-ref/v1/source/volumes-v1-volumes.inc
@@ -0,0 +1,234 @@
+.. -*- rst -*-
+
+=======
+Volumes
+=======
+
+The ``snapshot_id`` and ``source_volid`` parameters specify the ID
+of the snapshot or volume from which the volume originates. If the
+volume was not created from a snapshot or source volume, these
+values are null.
+
+
+List volumes, with details
+==========================
+
+.. rest_method:: GET /v1/{tenant_id}/volumes/detail
+
+Lists all volumes, with details.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - consistencygroup_id: consistencygroup_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - volume_type: volume_type
+ - volumes: volumes
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volumes-list-response.json
+ :language: javascript
+
+
+Create volume
+=============
+
+.. rest_method:: POST /v1/{tenant_id}/volumes
+
+Creates a volume.
+
+Error response codes:201,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - size: size
+ - description: description
+ - imageRef: imageRef
+ - multiattach: multiattach
+ - availability_zone: availability_zone
+ - source_volid: source_volid
+ - name: name
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - volume_type: volume_type
+ - snapshot_id: snapshot_id
+ - scheduler_hints: scheduler_hints
+ - source_replica: source_replica
+ - metadata: metadata
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-create-request.json
+ :language: javascript
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - description: description
+ - imageRef: imageRef
+ - multiattach: multiattach
+ - created_at: created_at
+ - availability_zone: availability_zone
+ - source_volid: source_volid
+ - name: name
+ - volume: volume
+ - volume_type: volume_type
+ - snapshot_id: snapshot_id
+ - size: size
+ - metadata: metadata
+
+
+List volumes
+============
+
+.. rest_method:: GET /v1/{tenant_id}/volumes
+
+Lists all volumes.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - volumes: volumes
+ - id: id
+ - links: links
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volumes-list-response.json
+ :language: javascript
+
+
+Show volume details
+===================
+
+.. rest_method:: GET /v1/{tenant_id}/volumes/{volume_id}
+
+Shows details for a volume.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - volume_type: volume_type
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-show-response.json
+ :language: javascript
+
+Delete volume
+=============
+
+.. rest_method:: DELETE /v1/{tenant_id}/volumes/{volume_id}
+
+Deletes a volume.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_id: volume_id
diff --git a/api-ref/v2/source/_static/api-site.css b/api-ref/v2/source/_static/api-site.css
new file mode 100644
index 00000000000..e7f5c19bc5d
--- /dev/null
+++ b/api-ref/v2/source/_static/api-site.css
@@ -0,0 +1,81 @@
+tt.literal {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #c7254e;
+ white-space: nowrap;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
+
+/* bootstrap users blockquote for pull quotes, so they are much
+larger, we need them smaller */
+blockquote { font-size: 1em; }
+
+pre {
+ display: block;
+ padding: 9.5px;
+ margin: 0 0 10px;
+ font-size: 13px;
+ line-height: 1.428571429;
+ color: #333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+tbody>tr:nth-child(odd)>td,
+tbody>tr:nth-child(odd)>th {
+ background-color: #f9f9f9;
+}
+
+table>thead>tr>th, table>tbody>tr>th, table>tfoot>tr>th, table>thead>tr>td, table>tbody>tr>td, table>tfoot>tr>td {
+ padding: 8px;
+ line-height: 1.428571429;
+ vertical-align: top;
+ border-top: 1px solid #ddd;
+}
+
+td>p {
+ margin: 0 0 0.5em;
+}
+
+div.document {
+ width: 80% !important;
+}
+
+@media (max-width: 1200px) {
+ div.document {
+ width: 960px !important;
+ }
+}
+
+.operation-grp {
+ padding-top: 0.5em;
+ padding-bottom: 1em;
+}
+
+/* Ensure the method buttons and their links don't split lines when
+the page is narrower */
+.operation {
+ /* this moves the link icon into the gutter */
+ margin-left: -1.25em;
+ margin-right: 1.25em;
+ white-space: nowrap;
+}
+
+/* These make the links only show up on hover */
+a.operation-anchor {
+ visibility: hidden;
+}
+
+.operation-grp:hover a.operation-anchor {
+ visibility: visible;
+}
+
+/* All tables for requests should be full width */
+
+.api-detail table.docutils {
+ width: 100%;
+}
diff --git a/api-ref/v2/source/_static/api-site.js b/api-ref/v2/source/_static/api-site.js
new file mode 100644
index 00000000000..6d99fb34c1b
--- /dev/null
+++ b/api-ref/v2/source/_static/api-site.js
@@ -0,0 +1,110 @@
+(function() {
+
+ var pageCache;
+
+ $(document).ready(function() {
+ pageCache = $('.api-documentation').html();
+
+ // Show the proper JSON/XML example when toggled
+ $('.example-select').on('change', function(e) {
+ $(e.currentTarget).find(':selected').tab('show')
+ });
+
+ // Change the text on the expando buttons when appropriate
+ $('.api-detail')
+ .on('hide.bs.collapse', function(e) {
+ processButton(this, 'detail');
+ })
+ .on('show.bs.collapse', function(e) {
+ processButton(this, 'close');
+ });
+
+ var expandAllActive = true;
+ // Expand the world
+ $('#expand-all').click(function () {
+ if (expandAllActive) {
+ expandAllActive = false;
+ $('.api-detail').collapse('show');
+ $('#expand-all').attr('data-toggle', '');
+ $(this).text('Hide All');
+ } else {
+ expandAllActive = true;
+ $('.api-detail').collapse('hide');
+ $('#expand-all').attr('data-toggle', 'collapse');
+ $(this).text('Show All');
+ }});
+
+ // Wire up the search button
+ $('#search-btn').on('click', function(e) {
+ searchPage();
+ });
+
+ // Wire up the search box enter
+ $('#search-box').on('keydown', function(e) {
+ if (e.keyCode === 13) {
+ searchPage();
+ return false;
+ }
+ });
+ });
+
+ /**
+ * highlight terms based on the regex in the provided $element
+ */
+ function highlightTextNodes($element, regex) {
+ var markup = $element.html();
+
+ // Do regex replace
+ // Inject span with class of 'highlighted termX' for google style highlighting
+ $element.html(markup.replace(regex, '>$1$2 $3<'));
+ }
+
+ function searchPage() {
+ $(".api-documentation").html(pageCache);
+
+ //make sure that all div's are expanded/hidden accordingly
+ $('.api-detail.in').each(function (e) {
+ $(this).collapse('hide');
+ });
+
+ var startTime = new Date().getTime(),
+ searchTerm = $('#search-box').val();
+
+ // The regex is the secret, it prevents text within tag declarations to be affected
+ var regex = new RegExp(">([^<]*)?(" + searchTerm + ")([^>]*)?<", "ig");
+ highlightTextNodes($('.api-documentation'), regex);
+
+ // Once we've highlighted the node, lets expand any with a search match in them
+ $('.api-detail').each(function () {
+
+ var $elem = $(this);
+
+ if ($elem.html().indexOf('') !== -1) {
+ $elem.collapse('show');
+ processButton($elem, 'close');
+ }
+ });
+
+ // log the results
+ if (console.log) {
+ console.log("search completed in: " + ((new Date().getTime()) - startTime) + "ms");
+ }
+
+ $('.api-detail')
+ .on('hide.bs.collapse', function (e) {
+ processButton(this, 'detail');
+ })
+ .on('show.bs.collapse', function (e) {
+ processButton(this, 'close');
+ });
+ }
+
+ /**
+ * Helper function for setting the text, styles for expandos
+ */
+ function processButton(button, text) {
+ $('#' + $(button).attr('id') + '-btn').text(text)
+ .toggleClass('btn-info')
+ .toggleClass('btn-default');
+ }
+})();
diff --git a/api-ref/v2/source/_static/bootstrap.min.css b/api-ref/v2/source/_static/bootstrap.min.css
new file mode 100644
index 00000000000..e63ddfaa0a5
--- /dev/null
+++ b/api-ref/v2/source/_static/bootstrap.min.css
@@ -0,0 +1,5 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../_static/glyphicons-halflings-regular.eot);src:url(../_static/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../_static/glyphicons-halflings-regular.woff) format('woff'),url(../_static/glyphicons-halflings-regular.ttf) format('truetype'),url(../_static/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;width:100%;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;width:100% \9;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}mark,.mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#777;opacity:1}.form-control:-ms-input-placeholder{color:#777}.form-control::-webkit-input-placeholder{color:#777}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px;line-height:1.42857143 \0}input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;min-height:20px;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{position:absolute;margin-top:4px \9;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],input[type=radio].disabled,input[type=checkbox].disabled,fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm,.form-horizontal .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg,.form-horizontal .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:25px;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.3px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#3071a9;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{position:absolute;z-index:-1;filter:alpha(opacity=0);opacity:0}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#333}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#777}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#777}.navbar-inverse .navbar-nav>li>a{color:#777}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#777}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#777}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#fff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#428bca;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar[aria-valuenow="1"],.progress-bar[aria-valuenow="2"]{min-width:30px}.progress-bar[aria-valuenow="0"]{min-width:30px;color:#777;background-color:transparent;background-image:none;-webkit-box-shadow:none;box-shadow:none}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{color:#777;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#428bca}.panel-primary>.panel-heading .badge{color:#428bca;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate3d(0,-25%,0);-o-transform:translate3d(0,-25%,0);transform:translate3d(0,-25%,0)}.modal.in .modal-dialog{-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;visibility:visible;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{display:table;content:" "}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/api-ref/v2/source/_static/bootstrap.min.js b/api-ref/v2/source/_static/bootstrap.min.js
new file mode 100644
index 00000000000..7c1561a8b96
--- /dev/null
+++ b/api-ref/v2/source/_static/bootstrap.min.js
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function c(){f.detach().trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.to=function(b){var c=this,d=this.getItemIndex(this.$active=this.$element.find(".item.active"));return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=e[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:g});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,f&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(e)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:g});return a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one("bsTransitionEnd",function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger(m)),f&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(b=!b),e||d.data("bs.collapse",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};c.VERSION="3.2.0",c.DEFAULTS={toggle:!0},c.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var c=a.Event("show.bs.collapse");if(this.$element.trigger(c),!c.isDefaultPrevented()){var d=this.$parent&&this.$parent.find("> .panel > .in");if(d&&d.length){var e=d.data("bs.collapse");if(e&&e.transitioning)return;b.call(d,"hide"),e||d.data("bs.collapse",null)}var f=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[f](0),this.transitioning=1;var g=function(){this.$element.removeClass("collapsing").addClass("collapse in")[f](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return g.call(this);var h=a.camelCase(["scroll",f].join("-"));this.$element.one("bsTransitionEnd",a.proxy(g,this)).emulateTransitionEnd(350)[f](this.$element[0][h])}}},c.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var d=a.fn.collapse;a.fn.collapse=b,a.fn.collapse.Constructor=c,a.fn.collapse.noConflict=function(){return a.fn.collapse=d,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(c){var d,e=a(this),f=e.attr("data-target")||c.preventDefault()||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),g=a(f),h=g.data("bs.collapse"),i=h?"toggle":e.data(),j=e.attr("data-parent"),k=j&&a(j);h&&h.transitioning||(k&&k.find('[data-toggle="collapse"][data-parent="'+j+'"]').not(e).addClass("collapsed"),e[g.hasClass("in")?"addClass":"removeClass"]("collapsed")),b.call(g,i)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.2.0",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(i.filter(":focus"));38==b.keyCode&&j>0&&j--,40==b.keyCode&&j ').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;e?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(150):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var f=function(){c.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",f).emulateTransitionEnd(150):f()}else b&&b()},c.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.2.0",c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show()},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var c=a.contains(document.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!c)return;var d=this,e=this.tip(),f=this.getUID(this.type);this.setContent(),e.attr("id",f),this.$element.attr("aria-describedby",f),this.options.animation&&e.addClass("fade");var g="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,h=/\s?auto?\s?/i,i=h.test(g);i&&(g=g.replace(h,"")||"top"),e.detach().css({top:0,left:0,display:"block"}).addClass(g).data("bs."+this.type,this),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element);var j=this.getPosition(),k=e[0].offsetWidth,l=e[0].offsetHeight;if(i){var m=g,n=this.$element.parent(),o=this.getPosition(n);g="bottom"==g&&j.top+j.height+l-o.scroll>o.height?"top":"top"==g&&j.top-o.scroll-l<0?"bottom":"right"==g&&j.right+k>o.width?"left":"left"==g&&j.left-kg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.2.0",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").empty()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.2.0",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.2.0",c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.closest("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},c.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one("bsTransitionEnd",e).emulateTransitionEnd(150):e(),f.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(c){c.preventDefault(),b.call(a(this),"show")})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.2.0",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=a(document).height(),d=this.$target.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=b-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){null!=this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:b-this.$element.height()-h}))}}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},d.offsetBottom&&(d.offset.bottom=d.offsetBottom),d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file
diff --git a/api-ref/v2/source/_static/glyphicons-halflings-regular.ttf b/api-ref/v2/source/_static/glyphicons-halflings-regular.ttf
new file mode 100644
index 00000000000..1413fc609ab
Binary files /dev/null and b/api-ref/v2/source/_static/glyphicons-halflings-regular.ttf differ
diff --git a/api-ref/v2/source/_static/glyphicons-halflings-regular.woff b/api-ref/v2/source/_static/glyphicons-halflings-regular.woff
new file mode 100644
index 00000000000..9e612858f80
Binary files /dev/null and b/api-ref/v2/source/_static/glyphicons-halflings-regular.woff differ
diff --git a/api-ref/v2/source/api-versions.inc b/api-ref/v2/source/api-versions.inc
new file mode 100644
index 00000000000..6f7ba7bc6df
--- /dev/null
+++ b/api-ref/v2/source/api-versions.inc
@@ -0,0 +1,32 @@
+.. -*- rst -*-
+
+List Api Versions
+=================
+
+.. rest_method:: GET /
+
+Lists information for all Block Storage API versions.
+
+
+Normal response codes: 200,300
+
+Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
+unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
+
+Request
+-------
+
+Response
+--------
+
+**Example List Api Versions: JSON request**
+
+
+.. literalinclude:: ./samples/versions-resp.json
+ :language: javascript
+
+**Example List Api Versions: XML request**
+
+
+.. literalinclude:: ./samples/versions-response.xml
+ :language: javascript
diff --git a/api-ref/v2/source/capabilities-v2.inc b/api-ref/v2/source/capabilities-v2.inc
new file mode 100644
index 00000000000..434e0720a13
--- /dev/null
+++ b/api-ref/v2/source/capabilities-v2.inc
@@ -0,0 +1,48 @@
+.. -*- rst -*-
+
+=================================================
+Capabilities for storage back ends (capabilities)
+=================================================
+
+Shows capabilities for a storage back end.
+
+
+Show back-end capabilities
+==========================
+
+.. rest_method:: GET /v2/{tenant_id}/capabilities/{hostname}
+
+Shows capabilities for a storage back end.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - hostname: hostname
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - pool_name: pool_name
+ - description: description
+ - volume_backend_name: volume_backend_name
+ - namespace: namespace
+ - visibility: visibility
+ - driver_version: driver_version
+ - vendor_name: vendor_name
+ - properties: properties
+ - storage_protocol: storage_protocol
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/backend-capabilities-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/conf.py b/api-ref/v2/source/conf.py
new file mode 100644
index 00000000000..08d5bfa0078
--- /dev/null
+++ b/api-ref/v2/source/conf.py
@@ -0,0 +1,217 @@
+# -*- coding: utf-8 -*-
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# cinder documentation build configuration file, created by
+# sphinx-quickstart on Sat May 1 15:17:47 2010.
+#
+# This file is execfile()d with the current directory set to
+# its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import os
+import subprocess
+import sys
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+sys.path.insert(0, os.path.abspath('../../'))
+sys.path.insert(0, os.path.abspath('../'))
+sys.path.insert(0, os.path.abspath('./'))
+
+# -- General configuration ----------------------------------------------------
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+
+extensions = [
+ 'ext.rest_parameters',
+ 'oslosphinx',
+]
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#
+# source_encoding = 'utf-8'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'Cinder API Reference'
+copyright = u'OpenStack Foundation'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+from cinder.version import version_info
+# The full version, including alpha/beta/rc tags.
+release = version_info.release_string()
+# The short X.Y version.
+version = version_info.version_string()
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+# today = ''
+# Else, today_fmt is used as the format for a strftime call.
+# today_fmt = '%B %d, %Y'
+
+# The reST default role (used for this markup: `text`) to use
+# for all documents.
+# default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+# add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+add_module_names = False
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# -- Options for man page output ----------------------------------------------
+
+# Grouping the document tree for man pages.
+# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual'
+
+
+# -- Options for HTML output --------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. Major themes that come with
+# Sphinx are currently 'default' and 'sphinxdoc'.
+# html_theme_path = ["."]
+# html_theme = '_theme'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+# html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+# html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# " v documentation".
+# html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+# html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+# html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+# html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
+ "-n1"]
+html_last_updated_fmt = subprocess.Popen(
+ git_cmd, stdout=subprocess.PIPE).communicate()[0]
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+# html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+# html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+# html_additional_pages = {}
+
+# If false, no module index is generated.
+# html_use_modindex = True
+
+# If false, no index is generated.
+# html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+# html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+# html_show_sourcelink = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+# html_use_opensearch = ''
+
+# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
+# html_file_suffix = ''
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'cinderdoc'
+
+
+# -- Options for LaTeX output -------------------------------------------------
+
+# The paper size ('letter' or 'a4').
+# latex_paper_size = 'letter'
+
+# The font size ('10pt', '11pt' or '12pt').
+# latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass
+# [howto/manual]).
+latex_documents = [
+ ('index', 'Cinder.tex', u'OpenStack Block Storage API Documentation',
+ u'OpenStack Foundation', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+# latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+# latex_use_parts = False
+
+# Additional stuff for the LaTeX preamble.
+# latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+# latex_appendices = []
+
+# If false, no module index is generated.
+# latex_use_modindex = True
diff --git a/api-ref/v2/source/consistencygroups-v2.inc b/api-ref/v2/source/consistencygroups-v2.inc
new file mode 100644
index 00000000000..0efda0d5209
--- /dev/null
+++ b/api-ref/v2/source/consistencygroups-v2.inc
@@ -0,0 +1,253 @@
+.. -*- rst -*-
+
+==================
+Consistency groups
+==================
+
+Consistency groups enable you to create snapshots at the exact same
+point in time from multiple volumes. For example, a database might
+place its tables, logs, and configuration on separate volumes. To
+restore this database from a previous point in time, it makes sense
+to restore the logs, tables, and configuration together from the
+exact same point in time.
+
+Use the ``policy.json`` file to grant permissions for these actions
+to limit roles.
+
+
+List consistency groups
+=======================
+
+.. rest_method:: GET /v2/{tenant_id}/consistencygroups
+
+Lists consistency groups.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - id: id
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/consistency-groups-list-response.json
+ :language: javascript
+
+
+Create consistency group
+========================
+
+.. rest_method:: POST /v2/{tenant_id}/consistencygroups
+
+Creates a consistency group.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - user_id: user_id
+ - description: description
+ - availability_zone: availability_zone
+ - volume_types: volume_types
+ - project_id: project_id
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/consistency-group-create-request.json
+ :language: javascript
+
+
+Show consistency group details
+==============================
+
+.. rest_method:: GET /v2/{tenant_id}/consistencygroups/{consistencygroup_id}
+
+Shows details for a consistency group.
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - consistencygroup_id: consistencygroup_id
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - availability_zone: availability_zone
+ - created_at: created_at
+ - volume_types: volume_types
+ - id: id
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/consistency-group-show-response.json
+ :language: javascript
+
+
+Create consistency group from source
+====================================
+
+.. rest_method:: POST /v2/{tenant_id}/consistencygroups/create_from_src
+
+Creates a consistency group from source.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - user_id: user_id
+ - description: description
+ - cgsnapshot_id: cgsnapshot_id
+ - source_cgid: source_cgid
+ - project_id: project_id
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/consistency-group-create-from-src-request.json
+ :language: javascript
+
+
+Delete consistency group
+========================
+
+.. rest_method:: POST /v2/{tenant_id}/consistencygroups/{consistencygroup_id}/delete
+
+Deletes a consistency group.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - force: force
+ - tenant_id: tenant_id
+ - consistencygroup_id: consistencygroup_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/consistency-group-delete-request.json
+ :language: javascript
+
+
+List consistency groups with details
+====================================
+
+.. rest_method:: GET /v2/{tenant_id}/consistencygroups/detail
+
+Lists consistency groups with details.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - availability_zone: availability_zone
+ - created_at: created_at
+ - volume_types: volume_types
+ - id: id
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/consistency-groups-list-detailed-response.json
+ :language: javascript
+
+
+Update consistency group
+========================
+
+.. rest_method:: PUT /v2/{tenant_id}/consistencygroups/{consistencygroup_id}/update
+
+Updates a consistency group.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - remove_volumes: remove_volumes
+ - description: description
+ - add_volumes: add_volumes
+ - name: name
+ - tenant_id: tenant_id
+ - consistencygroup_id: consistencygroup_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/consistency-group-update-request.json
+ :language: javascript
diff --git a/api-ref/v2/source/ext-backups-actions-v2.inc b/api-ref/v2/source/ext-backups-actions-v2.inc
new file mode 100644
index 00000000000..d9b0cb9c9b0
--- /dev/null
+++ b/api-ref/v2/source/ext-backups-actions-v2.inc
@@ -0,0 +1,38 @@
+.. -*- rst -*-
+
+================================
+Backup actions (backups, action)
+================================
+
+Force-deletes a backup.
+
+
+Force-delete backup
+===================
+
+.. rest_method:: POST /v2/{tenant_id}/backups/{backup_id}/action
+
+Force-deletes a backup. Specify the ``os-force_delete`` action in the request body.
+
+This operations deletes the backup and any backup data.
+
+The backup driver returns the ``405`` status code if it does not
+support this operation.
+
+Error response codes:404,405,202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-force_delete: os-force_delete
+ - tenant_id: tenant_id
+ - backup_id: backup_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/backup-force-delete-request.json
+ :language: javascript
diff --git a/api-ref/v2/source/ext-backups.inc b/api-ref/v2/source/ext-backups.inc
new file mode 100644
index 00000000000..6132d444037
--- /dev/null
+++ b/api-ref/v2/source/ext-backups.inc
@@ -0,0 +1,276 @@
+.. -*- rst -*-
+
+=================
+Backups (backups)
+=================
+
+A backup is a full copy of a volume stored in an external service.
+The service can be configured. The only supported service is Object
+Storage. A backup can subsequently be restored from the external
+service to either the same volume that the backup was originally
+taken from or to a new volume. Backup and restore operations can
+only be carried out on volumes that are in an unattached and
+available state.
+
+When you create, list, or delete backups, these status values are
+possible:
+
+**Backup statuses**
+
++-----------------+---------------------------------------------+
+| Status | Description |
++-----------------+---------------------------------------------+
+| creating | The backup is being created. |
++-----------------+---------------------------------------------+
+| available | The backup is ready to restore to a volume. |
++-----------------+---------------------------------------------+
+| deleting | The backup is being deleted. |
++-----------------+---------------------------------------------+
+| error | A backup error occurred. |
++-----------------+---------------------------------------------+
+| restoring | The backup is being restored to a volume. |
++-----------------+---------------------------------------------+
+| error_restoring | A backup restoration error occurred. |
++-----------------+---------------------------------------------+
+
+
+If an error occurs, you can find more information about the error
+in the ``fail_reason`` field for the backup.
+
+
+List backups with details
+=========================
+
+.. rest_method:: GET /v2/{tenant_id}/backups/detail
+
+Lists Block Storage backups, with details, to which the tenant has access.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - object_count: object_count
+ - fail_reason: fail_reason
+ - description: description
+ - links: links
+ - availability_zone: availability_zone
+ - created_at: created_at
+ - updated_at: updated_at
+ - name: name
+ - has_dependent_backups: has_dependent_backups
+ - volume_id: volume_id
+ - container: container
+ - backups: backups
+ - size: size
+ - id: id
+ - is_incremental: is_incremental
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/backups-list-detailed-response.json
+ :language: javascript
+
+
+Show backup details
+===================
+
+.. rest_method:: GET /v2/{tenant_id}/backups/{backup_id}
+
+Shows details for a backup.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - backup_id: backup_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - object_count: object_count
+ - container: container
+ - description: description
+ - links: links
+ - availability_zone: availability_zone
+ - created_at: created_at
+ - updated_at: updated_at
+ - name: name
+ - has_dependent_backups: has_dependent_backups
+ - volume_id: volume_id
+ - fail_reason: fail_reason
+ - size: size
+ - backup: backup
+ - id: id
+ - is_incremental: is_incremental
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/backup-show-response.json
+ :language: javascript
+
+
+Delete backup
+=============
+
+.. rest_method:: DELETE /v2/{tenant_id}/backups/{backup_id}
+
+Deletes a backup.
+
+Error response codes:204,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - backup_id: backup_id
+
+
+Restore backup
+==============
+
+.. rest_method:: POST /v2/{tenant_id}/backups/{backup_id}/restore
+
+Restores a Block Storage backup to an existing or new Block Storage volume.
+
+You must specify either the UUID or name of the volume. If you
+specify both the UUID and name, the UUID takes priority.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - restore: restore
+ - name: name
+ - volume_id: volume_id
+ - tenant_id: tenant_id
+ - backup_id: backup_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/backup-restore-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - restore: restore
+ - backup_id: backup_id
+ - volume_id: volume_id
+
+Create backup
+=============
+
+.. rest_method:: POST /v2/{tenant_id}/backups
+
+Creates a Block Storage backup from a volume.
+
+Error response codes:202,
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - container: container
+ - description: description
+ - incremental: incremental
+ - volume_id: volume_id
+ - force: force
+ - backup: backup
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/backup-create-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - backup: backup
+ - id: id
+ - links: links
+ - name: name
+
+List backups
+============
+
+.. rest_method:: GET /v2/{tenant_id}/backups
+
+Lists Block Storage backups to which the tenant has access.
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - backups: backups
+ - id: id
+ - links: links
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/backups-list-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/index.rst b/api-ref/v2/source/index.rst
new file mode 100644
index 00000000000..e46983c8b43
--- /dev/null
+++ b/api-ref/v2/source/index.rst
@@ -0,0 +1,28 @@
+:tocdepth: 2
+
+==============
+ Volume API V2
+==============
+
+.. rest_expand_all::
+
+.. include:: api-versions.inc
+.. include:: ext-backups.inc
+.. include:: ext-backups-actions-v2.inc
+.. include:: capabilities-v2.inc
+.. include:: os-cgsnapshots-v2.inc
+.. include:: consistencygroups-v2.inc
+.. include:: limits.inc
+.. include:: os-vol-image-meta-v2.inc
+.. include:: os-vol-pool-v2.inc
+.. include:: os-vol-transfer-v2.inc
+.. include:: qos-specs-v2-qos-specs.inc
+.. include:: quota-sets.inc
+.. include:: volume-manage.inc
+.. include:: volume-type-access.inc
+.. include:: volumes-v2-extensions.inc
+.. include:: volumes-v2-snapshots.inc
+.. include:: volumes-v2-types.inc
+.. include:: volumes-v2-versions.inc
+.. include:: volumes-v2-volumes-actions.inc
+.. include:: volumes-v2-volumes.inc
diff --git a/api-ref/v2/source/limits.inc b/api-ref/v2/source/limits.inc
new file mode 100644
index 00000000000..0abdc8cffee
--- /dev/null
+++ b/api-ref/v2/source/limits.inc
@@ -0,0 +1,57 @@
+.. -*- rst -*-
+
+===============
+Limits (limits)
+===============
+
+Shows absolute limits for a tenant.
+
+An absolute limit value of ``-1`` indicates that the absolute limit
+for the item is infinite.
+
+
+Show absolute limits
+====================
+
+.. rest_method:: GET /v2/{tenant_id}/limits
+
+Shows absolute limits for a tenant.
+
+An absolute limit value of ``-1`` indicates that the absolute limit
+for the item is infinite.
+
+
+Normal response codes: 200
+Error response codes:203,
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - totalSnapshotsUsed: totalSnapshotsUsed
+ - maxTotalBackups: maxTotalBackups
+ - maxTotalVolumeGigabytes: maxTotalVolumeGigabytes
+ - limits: limits
+ - maxTotalSnapshots: maxTotalSnapshots
+ - maxTotalBackupGigabytes: maxTotalBackupGigabytes
+ - totalBackupGigabytesUsed: totalBackupGigabytesUsed
+ - maxTotalVolumes: maxTotalVolumes
+ - totalVolumesUsed: totalVolumesUsed
+ - rate: rate
+ - totalBackupsUsed: totalBackupsUsed
+ - totalGigabytesUsed: totalGigabytesUsed
+ - absolute: absolute
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/limits-show-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/os-cgsnapshots-v2.inc b/api-ref/v2/source/os-cgsnapshots-v2.inc
new file mode 100644
index 00000000000..a9897fb15f8
--- /dev/null
+++ b/api-ref/v2/source/os-cgsnapshots-v2.inc
@@ -0,0 +1,179 @@
+.. -*- rst -*-
+
+===========================
+Consistency group snapshots
+===========================
+
+Lists all, lists all with details, shows details for, creates, and
+deletes consistency group snapshots.
+
+
+Delete consistency group snapshot
+=================================
+
+.. rest_method:: DELETE /v2/{tenant_id}/cgsnapshots/{cgsnapshot_id}
+
+Deletes a consistency group snapshot.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - cgsnapshot_id: cgsnapshot_id
+
+
+Show consistency group snapshot details
+=======================================
+
+.. rest_method:: GET /v2/{tenant_id}/cgsnapshots/{cgsnapshot_id}
+
+Shows details for a consistency group snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - cgsnapshot_id: cgsnapshot_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - consistencygroup_id: consistencygroup_id
+ - id: id
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/cgsnapshots-show-response.json
+ :language: javascript
+
+
+List consistency group snapshots with details
+=============================================
+
+.. rest_method:: GET /v2/{tenant_id}/cgsnapshots/detail
+
+Lists all consistency group snapshots with details.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - consistencygroup_id: consistencygroup_id
+ - id: id
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/cgsnapshots-list-detailed-response.json
+ :language: javascript
+
+List consistency group snapshots
+================================
+
+.. rest_method:: GET /v2/{tenant_id}/cgsnapshots
+
+Lists all consistency group snapshots.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - id: id
+ - name: name
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/cgsnapshots-list-response.json
+ :language: javascript
+
+
+
+
+Create consistency group snapshot
+=================================
+
+.. rest_method:: POST /v2/{tenant_id}/cgsnapshots
+
+Creates a consistency group snapshot.
+
+Error response codes:202,
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/cgsnapshots-create-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - consistencygroup_id: consistencygroup_id
+ - id: id
+ - name: name
diff --git a/api-ref/v2/source/os-vol-image-meta-v2.inc b/api-ref/v2/source/os-vol-image-meta-v2.inc
new file mode 100644
index 00000000000..e36f5e5e03f
--- /dev/null
+++ b/api-ref/v2/source/os-vol-image-meta-v2.inc
@@ -0,0 +1,46 @@
+.. -*- rst -*-
+
+===================================================
+Volume image metadata extension (os-vol-image-meta)
+===================================================
+
+Shows image metadata that is associated with a volume.
+
+
+Show image metadata for volume
+==============================
+
+.. rest_method:: GET /v2/{tenant_id}/os-vol-image-meta
+
+Shows image metadata for a volume.
+
+When the request is made, the caller must specify a reference to an
+existing storage volume in the ``ref`` element. Each storage driver
+may interpret the existing storage volume reference differently but
+should accept a reference structure containing either a ``source-
+volume-id`` or ``source-volume-name`` element, if possible.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - description: description
+ - availability_zone: availability_zone
+ - bootable: bootable
+ - volume_type: volume_type
+ - name: name
+ - volume: volume
+ - host: host
+ - ref: ref
+ - metadata: metadata
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/image-metadata-show-request.json
+ :language: javascript
diff --git a/api-ref/v2/source/os-vol-pool-v2.inc b/api-ref/v2/source/os-vol-pool-v2.inc
new file mode 100644
index 00000000000..f7afde10b8d
--- /dev/null
+++ b/api-ref/v2/source/os-vol-pool-v2.inc
@@ -0,0 +1,50 @@
+.. -*- rst -*-
+
+======================
+Back-end storage pools
+======================
+
+Administrator only. Lists all back-end storage pools that are known
+to the scheduler service.
+
+
+List back-end storage pools
+===========================
+
+.. rest_method:: GET /v2/{tenant_id}/scheduler-stats/get_pools
+
+Lists all back-end storage pools.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - detail: detail
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - updated: updated
+ - QoS_support: QoS_support
+ - name: name
+ - total_capacity: total_capacity
+ - volume_backend_name: volume_backend_name
+ - capabilities: capabilities
+ - free_capacity: free_capacity
+ - driver_version: driver_version
+ - reserved_percentage: reserved_percentage
+ - storage_protocol: storage_protocol
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/pools-list-detailed-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/os-vol-transfer-v2.inc b/api-ref/v2/source/os-vol-transfer-v2.inc
new file mode 100644
index 00000000000..17ef4d42bb8
--- /dev/null
+++ b/api-ref/v2/source/os-vol-transfer-v2.inc
@@ -0,0 +1,217 @@
+.. -*- rst -*-
+
+===============
+Volume transfer
+===============
+
+Transfers a volume from one user to another user.
+
+
+Accept volume transfer
+======================
+
+.. rest_method:: POST /v2/{tenant_id}/os-volume-transfer/{transfer_id}/accept
+
+Accepts a volume transfer.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - auth_key: auth_key
+ - transfer_id: transfer_id
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-transfer-accept-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_id: volume_id
+ - id: id
+ - links: links
+ - name: name
+
+
+Create volume transfer
+======================
+
+.. rest_method:: POST /v2/{tenant_id}/os-volume-transfer
+
+Creates a volume transfer.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - name: name
+ - volume_id: volume_id
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-transfer-create-request.json
+ :language: javascript
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - auth_key: auth_key
+ - links: links
+ - created_at: created_at
+ - volume_id: volume_id
+ - id: id
+ - name: name
+
+
+List volume transfers
+=====================
+
+.. rest_method:: GET /v2/{tenant_id}/os-volume-transfer
+
+Lists volume transfers.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_id: volume_id
+ - id: id
+ - links: links
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-transfers-list-response.json
+ :language: javascript
+
+
+Show volume transfer details
+============================
+
+.. rest_method:: GET /v2/{tenant_id}/os-volume-transfer/{transfer_id}
+
+Shows details for a volume transfer.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - transfer_id: transfer_id
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - created_at: created_at
+ - volume_id: volume_id
+ - id: id
+ - links: links
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-transfer-show-response.json
+ :language: javascript
+
+
+Delete volume transfer
+======================
+
+.. rest_method:: DELETE /v2/{tenant_id}/os-volume-transfer/{transfer_id}
+
+Deletes a volume transfer.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - transfer_id: transfer_id
+ - tenant_id: tenant_id
+
+
+List volume transfers, with details
+===================================
+
+.. rest_method:: GET /v2/{tenant_id}/os-volume-transfer/detail
+
+Lists volume transfers, with details.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - created_at: created_at
+ - volume_id: volume_id
+ - id: id
+ - links: links
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-transfers-list-detailed-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/parameters.yaml b/api-ref/v2/source/parameters.yaml
new file mode 100644
index 00000000000..596fb2880a6
--- /dev/null
+++ b/api-ref/v2/source/parameters.yaml
@@ -0,0 +1,1570 @@
+# variables in header
+x-openstack-request-id:
+ description: >
+ foo
+ in: header
+ required: false
+ type: string
+
+# variables in path
+admin_tenant_id:
+ description: |
+ The UUID of the administrative tenant.
+ in: path
+ required: false
+ type: string
+backup_id:
+ description: |
+ The UUID for a backup.
+ in: path
+ required: false
+ type: string
+cgsnapshot_id_1:
+ description: |
+ The ID of the consistency group snapshot.
+ in: path
+ required: false
+ type: string
+consistencygroup_id_2:
+ description: |
+ The ID of the consistency group.
+ in: path
+ required: false
+ type: string
+force_3:
+ description: |
+ To delete a QoS specification even if it is in-
+ use, set to ``true``. Default is ``false``.
+ in: path
+ required: false
+ type: boolean
+hostname:
+ description: |
+ The name of the host that hosts the storage back
+ end.
+ in: path
+ required: false
+ type: string
+qos_id:
+ description: |
+ The ID of the QoS specification.
+ in: path
+ required: false
+ type: string
+snapshot_id_1:
+ description: |
+ The UUID of the snapshot.
+ in: path
+ required: false
+ type: string
+tenant_id:
+ description: |
+ The UUID of the tenant in a multi-tenancy cloud.
+ in: path
+ required: false
+ type: string
+transfer_id:
+ description: |
+ The unique identifier for a volume transfer.
+ in: path
+ required: false
+ type: string
+user_id_1:
+ description: |
+ The user ID. Specify in the URI as
+ ``user_id={user_id}``.
+ in: path
+ required: false
+ type: string
+volume_id_1:
+ description: |
+ The UUID of the volume.
+ in: path
+ required: false
+ type: string
+volume_type:
+ description: |
+ The ID of Volume Type to be accessed by project.
+ in: path
+ required: false
+ type: string
+volume_type_id:
+ description: |
+ The UUID for an existing volume type.
+ in: path
+ required: false
+ type: string
+
+# variables in query
+detail:
+ description: |
+ Indicates whether to show pool details or only
+ pool names in the response. Set to ``true`` to show pool details.
+ Set to ``false`` to show only pool names. Default is ``false``.
+ in: query
+ required: false
+ type: boolean
+limit:
+ description: |
+ Requests a page size of items. Returns a number
+ of items up to a limit value. Use the ``limit`` parameter to make
+ an initial limited request and use the ID of the last-seen item
+ from the response as the ``marker`` parameter value in a
+ subsequent limited request.
+ in: query
+ required: false
+ type: integer
+marker:
+ description: |
+ The ID of the last-seen item. Use the ``limit``
+ parameter to make an initial limited request and use the ID of the
+ last-seen item from the response as the ``marker`` parameter value
+ in a subsequent limited request.
+ in: query
+ required: false
+ type: string
+sort:
+ description: |
+ Comma-separated list of sort keys and optional
+ sort directions in the form of < key > [: < direction > ]. A valid
+ direction is ``asc`` (ascending) or ``desc`` (descending).
+ in: query
+ required: false
+ type: string
+sort_dir:
+ description: |
+ Sorts by one or more sets of attribute and sort
+ direction combinations. If you omit the sort direction in a set,
+ default is ``desc``.
+ in: query
+ required: false
+ type: string
+sort_key:
+ description: |
+ Sorts by an attribute. A valid value is ``name``,
+ ``status``, ``container_format``, ``disk_format``, ``size``,
+ ``id``, ``created_at``, or ``updated_at``. Default is
+ ``created_at``. The API uses the natural sorting direction of the
+ ``sort_key`` attribute value.
+ in: query
+ required: false
+ type: string
+sort_key_1:
+ description: |
+ Sorts by an image attribute. A valid value is
+ ``name``, ``status``, ``container_format``, ``disk_format``,
+ ``size``, ``id``, ``created_at``, or ``updated_at``. Default is
+ ``created_at``. The API uses the natural sorting direction of the
+ ``sort_key`` attribute value.
+ in: query
+ required: false
+ type: string
+usage:
+ description: |
+ Set to ``usage=true`` to show quota usage.
+ Default is ``false``.
+ in: query
+ required: false
+ type: boolean
+
+# variables in body
+QoS_support:
+ description: |
+ The quality of service (QoS) support.
+ in: body
+ required: true
+ type: boolean
+absolute:
+ description: |
+ An ``absolute`` limits object.
+ in: body
+ required: true
+ type: object
+add_volumes:
+ description: |
+ One or more volume UUIDs, separated by commas, to
+ add to the volume consistency group.
+ in: body
+ required: false
+ type: string
+alias:
+ description: |
+ The alias for the extension. For example,
+ "FOXNSOX", "os- availability-zone", "os-extended-quotas", "os-
+ share-unmanage" or "os-used-limits."
+ in: body
+ required: true
+ type: string
+attach_status:
+ description: |
+ The volume attach status.
+ in: body
+ required: false
+ type: string
+attachment_id:
+ description: |
+ The interface ID.
+ in: body
+ required: false
+ type: string
+attachments:
+ description: |
+ Instance attachment information. If this volume
+ is attached to a server instance, the attachments list includes
+ the UUID of the attached server, an attachment UUID, the name of
+ the attached host, if any, the volume UUID, the device, and the
+ device UUID. Otherwise, this list is empty.
+ in: body
+ required: true
+ type: array
+auth_key:
+ description: |
+ The authentication key for the volume transfer.
+ in: body
+ required: true
+ type: string
+availability_zone:
+ description: |
+ The name of the availability zone.
+ in: body
+ required: false
+ type: string
+availability_zone_1:
+ description: |
+ The availability zone.
+ in: body
+ required: false
+ type: string
+availability_zone_2:
+ description: |
+ The availability zone.
+ in: body
+ required: true
+ type: string
+availability_zone_3:
+ description: |
+ The availability zone name.
+ in: body
+ required: true
+ type: string
+backup:
+ description: |
+ A ``backup`` object.
+ in: body
+ required: true
+ type: object
+backups:
+ description: |
+ A list of ``backup`` objects.
+ in: body
+ required: true
+ type: array
+bootable:
+ description: |
+ Enables or disables the bootable attribute. You
+ can boot an instance from a bootable volume.
+ in: body
+ required: true
+ type: boolean
+bootable_1:
+ description: |
+ Enables or disables the bootable attribute. You
+ can boot an instance from a bootable volume.
+ in: body
+ required: false
+ type: boolean
+capabilities:
+ description: |
+ The capabilities for the back end. The value is
+ either ``null`` or a string value that indicates the capabilities
+ for each pool. For example, ``total_capacity`` or ``QoS_support``.
+ in: body
+ required: true
+ type: object
+cgsnapshot_id:
+ description: |
+ The UUID of the consistency group snapshot.
+ in: body
+ required: false
+ type: string
+connector:
+ description: |
+ The ``connector`` object.
+ in: body
+ required: true
+ type: object
+consistencygroup_id:
+ description: |
+ The UUID of the consistency group.
+ in: body
+ required: true
+ type: string
+consistencygroup_id_1:
+ description: |
+ The UUID of the consistency group.
+ in: body
+ required: false
+ type: string
+consumer:
+ description: |
+ The consumer type.
+ in: body
+ required: false
+ type: string
+consumer_1:
+ description: |
+ The consumer type.
+ in: body
+ required: true
+ type: string
+container:
+ description: |
+ The container name or null.
+ in: body
+ required: true
+ type: string
+cores:
+ description: |
+ The number of instance cores that are allowed for
+ each tenant.
+ in: body
+ required: true
+ type: integer
+created_at:
+ description: |
+ The date and time when the resource was created.
+
+ The date and time stamp format is `ISO 8601
+ `_:
+
+ ::
+
+ CCYY-MM-DDThh:mm:ss±hh:mm
+
+ For example, ``2015-08-27T09:49:58-05:00``.
+
+ The ``±hh:mm`` value, if included, is the time zone as an offset
+ from UTC.
+ in: body
+ required: true
+ type: string
+created_at_1:
+ description: |
+ Date and time when the volume was created.
+ in: body
+ required: true
+ type: string
+description:
+ description: |
+ The backup description or null.
+ in: body
+ required: true
+ type: string
+description_1:
+ description: |
+ The consistency group snapshot description.
+ in: body
+ required: true
+ type: string
+description_10:
+ description: |
+ The capabilities description.
+ in: body
+ required: true
+ type: string
+description_11:
+ description: |
+ The consistency group description.
+ in: body
+ required: false
+ type: string
+description_2:
+ description: |
+ The description of the consistency group.
+ in: body
+ required: false
+ type: string
+description_3:
+ description: |
+ The description of the consistency group.
+ in: body
+ required: true
+ type: string
+description_4:
+ description: |
+ A description for the snapshot. Default is
+ ``None``.
+ in: body
+ required: false
+ type: string
+description_5:
+ description: |
+ The volume description.
+ in: body
+ required: false
+ type: string
+description_6:
+ description: |
+ The consistency group description.
+ in: body
+ required: true
+ type: string
+description_7:
+ description: |
+ The extension description.
+ in: body
+ required: true
+ type: string
+description_8:
+ description: |
+ A description for the snapshot.
+ in: body
+ required: true
+ type: string
+description_9:
+ description: |
+ The volume description.
+ in: body
+ required: true
+ type: string
+driver_version:
+ description: |
+ The driver version.
+ in: body
+ required: true
+ type: string
+encrypted:
+ description: |
+ If true, this volume is encrypted.
+ in: body
+ required: true
+ type: boolean
+extra_specs:
+ description: |
+ A set of key and value pairs that contains the
+ specifications for a volume type.
+ in: body
+ required: true
+ type: object
+is_public:
+ description:
+ Volume type which is accessible to the public.
+ in: body
+ required: false
+ type: boolean
+extra_specs_1:
+ description: |
+ A key and value pair that contains additional
+ specifications that are associated with the volume type. Examples
+ include capabilities, capacity, compression, and so on, depending
+ on the storage driver in use.
+ in: body
+ required: true
+ type: object
+fail_reason:
+ description: |
+ If the backup failed, the reason for the failure.
+ Otherwise, null.
+ in: body
+ required: true
+ type: string
+fixed_ips:
+ description: |
+ The number of fixed IP addresses that are allowed
+ for each tenant. Must be equal to or greater than the number of
+ allowed instances.
+ in: body
+ required: true
+ type: integer
+floating_ips:
+ description: |
+ The number of floating IP addresses that are
+ allowed for each tenant.
+ in: body
+ required: true
+ type: integer
+force:
+ description: |
+ Indicates whether to backup, even if the volume
+ is attached. Default is ``false``.
+ in: body
+ required: false
+ type: boolean
+force_1:
+ description: |
+ Indicates whether to snapshot, even if the volume
+ is attached. Default is ``false``.
+ in: body
+ required: false
+ type: boolean
+force_2:
+ description: |
+ If set to ``true``, forces deletion of a
+ consistency group that has a registered volume.
+ in: body
+ required: false
+ type: boolean
+free_capacity:
+ description: |
+ The amount of free capacity for the back-end
+ volume, in GBs. A valid value is a string, such as ``unknown``, or
+ an integer.
+ in: body
+ required: true
+ type: string
+has_dependent_backups:
+ description: |
+ If this value is ``true``, the backup depends on
+ other backups.
+ in: body
+ required: false
+ type: boolean
+host:
+ description: |
+ The OpenStack Block Storage host where the
+ existing volume resides.
+ in: body
+ required: true
+ type: string
+host_name:
+ description: |
+ The name of the attaching host.
+ in: body
+ required: false
+ type: string
+id:
+ description: |
+ The UUID of the volume transfer.
+ in: body
+ required: true
+ type: string
+id_1:
+ description: |
+ The UUID of the backup.
+ in: body
+ required: true
+ type: string
+id_2:
+ description: |
+ The UUID of the consistency group snapshot.
+ in: body
+ required: true
+ type: string
+id_3:
+ description: |
+ The generated ID for the QoS specification.
+ in: body
+ required: true
+ type: string
+id_4:
+ description: |
+ The snapshot UUID.
+ in: body
+ required: true
+ type: string
+id_5:
+ description: |
+ The UUID of the volume.
+ in: body
+ required: true
+ type: string
+id_6:
+ description: |
+ The UUID of the consistency group.
+ in: body
+ required: true
+ type: string
+id_7:
+ description: |
+ The ID for the quota set.
+ in: body
+ required: true
+ type: integer
+imageRef:
+ description: |
+ The UUID of the image from which you want to
+ create the volume. Required to create a bootable volume.
+ in: body
+ required: false
+ type: string
+in_use:
+ description: |
+ The in use data size. Visible only if you set the
+ ``usage=true`` query parameter.
+ in: body
+ required: false
+ type: string
+incremental:
+ description: |
+ The backup mode. A valid value is ``true`` for
+ incremental backup mode or ``false`` for full backup mode. Default
+ is ``false``.
+ in: body
+ required: false
+ type: boolean
+injected_file_content_bytes:
+ description: |
+ The number of bytes of content that are allowed
+ for each injected file.
+ in: body
+ required: true
+ type: integer
+injected_file_path_bytes:
+ description: |
+ The number of bytes that are allowed for each
+ injected file path.
+ in: body
+ required: true
+ type: integer
+injected_files:
+ description: |
+ The number of injected files that are allowed for
+ each tenant.
+ in: body
+ required: true
+ type: integer
+instance_uuid:
+ description: |
+ The UUID of the attaching instance.
+ in: body
+ required: false
+ type: string
+instances:
+ description: |
+ The number of instances that are allowed for each
+ tenant.
+ in: body
+ required: true
+ type: integer
+is_incremental:
+ description: |
+ Indicates whether the backup mode is incremental.
+ If this value is ``true``, the backup mode is incremental. If this
+ value is ``false``, the backup mode is full.
+ in: body
+ required: false
+ type: boolean
+key:
+ description: |
+ The metadata key name for the metadata that you
+ want to remove.
+ in: body
+ required: true
+ type: string
+key_pairs:
+ description: |
+ The number of key pairs that are allowed for each
+ user.
+ in: body
+ required: true
+ type: integer
+keys:
+ description: |
+ List of Keys.
+ in: body
+ required: true
+ type: array
+limits:
+ description: |
+ A list of ``limit`` objects.
+ in: body
+ required: true
+ type: object
+links:
+ description: |
+ Links for the volume transfer.
+ in: body
+ required: true
+ type: array
+links_1:
+ description: |
+ Links for the backup.
+ in: body
+ required: true
+ type: array
+links_2:
+ description: |
+ The QoS specification links.
+ in: body
+ required: true
+ type: array
+links_3:
+ description: |
+ The volume links.
+ in: body
+ required: true
+ type: array
+links_4:
+ description: |
+ List of links related to the extension.
+ in: body
+ required: true
+ type: array
+location:
+ description: |
+ Full URL to a service or server.
+ format: uri
+ in: body
+ required: true
+ type: string
+maxTotalBackupGigabytes:
+ description: |
+ The maximum total amount of backups, in gibibytes
+ (GiB).
+ in: body
+ required: true
+ type: integer
+maxTotalBackups:
+ description: |
+ The maximum number of backups.
+ in: body
+ required: true
+ type: integer
+maxTotalSnapshots:
+ description: |
+ The maximum number of snapshots.
+ in: body
+ required: true
+ type: integer
+maxTotalVolumeGigabytes:
+ description: |
+ The maximum total amount of volumes, in gibibytes
+ (GiB).
+ in: body
+ required: true
+ type: integer
+maxTotalVolumes:
+ description: |
+ The maximum number of volumes.
+ in: body
+ required: true
+ type: integer
+metadata:
+ description: |
+ One or more metadata key and value pairs for the
+ snapshot, if any.
+ in: body
+ required: true
+ type: object
+metadata_1:
+ description: |
+ A ``metadata`` object. Contains one or more
+ metadata key and value pairs that are associated with the volume.
+ in: body
+ required: true
+ type: object
+metadata_2:
+ description: |
+ One or more metadata key and value pairs that are
+ associated with the volume.
+ in: body
+ required: false
+ type: object
+metadata_3:
+ description: |
+ One or more metadata key and value pairs that are
+ associated with the volume.
+ in: body
+ required: true
+ type: object
+metadata_4:
+ description: |
+ One or more metadata key and value pairs to
+ associate with the volume.
+ in: body
+ required: false
+ type: string
+metadata_5:
+ description: |
+ The image metadata to add to the volume as a set
+ of metadata key and value pairs.
+ in: body
+ required: true
+ type: object
+metadata_6:
+ description: |
+ One or more metadata key and value pairs to
+ associate with the volume.
+ in: body
+ required: false
+ type: object
+metadata_7:
+ description: |
+ One or more metadata key and value pairs for the
+ snapshot.
+ in: body
+ required: false
+ type: object
+metadata_items:
+ description: |
+ The number of metadata items that are allowed for
+ each instance.
+ in: body
+ required: true
+ type: integer
+migration_status:
+ description: |
+ The volume migration status.
+ in: body
+ required: true
+ type: string
+migration_status_1:
+ description: |
+ The volume migration status.
+ in: body
+ required: false
+ type: string
+mountpoint:
+ description: |
+ The attaching mount point.
+ in: body
+ required: false
+ type: string
+multiattach:
+ description: |
+ To enable this volume to attach to more than one
+ server, set this value to ``true``. Default is ``false``.
+ in: body
+ required: false
+ type: boolean
+multiattach_1:
+ description: |
+ If true, this volume can attach to more than one
+ instance.
+ in: body
+ required: true
+ type: boolean
+name:
+ description: |
+ The name of the volume transfer.
+ in: body
+ required: true
+ type: string
+name_1:
+ description: |
+ The backup name.
+ in: body
+ required: true
+ type: string
+name_10:
+ description: |
+ The name of the extension. For example, "Fox In
+ Socks."
+ in: body
+ required: true
+ type: string
+name_11:
+ description: |
+ The name of the back-end volume.
+ in: body
+ required: true
+ type: string
+name_12:
+ description: |
+ The name of the snapshot.
+ in: body
+ required: true
+ type: string
+name_13:
+ description: |
+ The volume name.
+ in: body
+ required: true
+ type: string
+name_14:
+ description: |
+ The name of the volume to which you want to
+ restore a backup.
+ in: body
+ required: false
+ type: string
+name_15:
+ description: |
+ The consistency group name.
+ in: body
+ required: false
+ type: string
+name_2:
+ description: |
+ The consistency group snapshot name.
+ in: body
+ required: true
+ type: string
+name_3:
+ description: |
+ The name of the consistency group.
+ in: body
+ required: true
+ type: string
+name_4:
+ description: |
+ The name of the QoS specification.
+ in: body
+ required: true
+ type: string
+name_5:
+ description: |
+ The name of the snapshot. Default is ``None``.
+ in: body
+ required: false
+ type: string
+name_6:
+ description: |
+ The volume transfer name.
+ in: body
+ required: false
+ type: string
+name_7:
+ description: |
+ The name of the volume type.
+ in: body
+ required: true
+ type: string
+name_8:
+ description: |
+ The volume name.
+ in: body
+ required: false
+ type: string
+name_9:
+ description: |
+ The consistency group name.
+ in: body
+ required: true
+ type: string
+namespace:
+ description: |
+ Link associated to the extension.
+ in: body
+ required: true
+ type: string
+namespace_1:
+ description: |
+ The storage namespace, such as
+ ``OS::Storage::Capabilities::foo``.
+ in: body
+ required: true
+ type: string
+new_size:
+ description: |
+ The new size of the volume, in gibibytes (GiB).
+ in: body
+ required: true
+ type: integer
+object_count:
+ description: |
+ The number of objects in the backup.
+ in: body
+ required: true
+ type: integer
+os-attach:
+ description: |
+ The ``os-attach`` action.
+ in: body
+ required: true
+ type: object
+os-extend:
+ description: |
+ The ``os-extend`` action.
+ in: body
+ required: true
+ type: object
+os-extended-snapshot-attributes:progress:
+ description: |
+ A percentage value for the build progress.
+ in: body
+ required: true
+ type: integer
+os-extended-snapshot-attributes:project_id:
+ description: |
+ The UUID of the owning project.
+ in: body
+ required: true
+ type: string
+os-force_delete:
+ description: |
+ The ``os-force_delete`` action.
+ in: body
+ required: true
+ type: string
+os-force_detach:
+ description: |
+ The ``os-force_detach`` action.
+ in: body
+ required: true
+ type: object
+os-promote-replica:
+ description: |
+ The ``os-promote-replica`` action.
+ in: body
+ required: true
+ type: object
+os-reenable-replica:
+ description: |
+ The ``os-reenable-replica`` action.
+ in: body
+ required: true
+ type: object
+os-reset_status:
+ description: |
+ The ``os-reset_status`` action.
+ in: body
+ required: true
+ type: object
+os-set_image_metadata:
+ description: |
+ The ``os-set_image_metadata`` action.
+ in: body
+ required: true
+ type: object
+os-unmanage:
+ description: |
+ The ``os-unmanage`` action. This action removes
+ the specified volume from Cinder management.
+ in: body
+ required: true
+ type: object
+os-unset_image_metadata:
+ description: |
+ The ``os-unset_image_metadata`` action. This
+ action removes the key-value pairs from the image metadata.
+ in: body
+ required: true
+ type: object
+os-vol-host-attr:host:
+ description: |
+ Current back-end of the volume.
+ in: body
+ required: true
+ type: string
+os-vol-mig-status-attr:migstat:
+ description: |
+ The status of this volume migration (None means
+ that a migration is not currently in progress).
+ in: body
+ required: true
+ type: string
+os-vol-mig-status-attr:name_id:
+ description: |
+ The volume ID that this volume name on the back-
+ end is based on.
+ in: body
+ required: true
+ type: string
+os-vol-tenant-attr:tenant_id:
+ description: |
+ The tenant ID which the volume belongs to.
+ in: body
+ required: true
+ type: string
+os-volume-replication:driver_data:
+ description: |
+ The name of the volume replication driver.
+ in: body
+ required: false
+ type: string
+os-volume-replication:extended_status:
+ description: |
+ The volume replication status managed by the
+ driver of backend storage.
+ in: body
+ required: false
+ type: string
+os-volume-replication:extended_status_1:
+ description: |
+ The status of the volume replication.
+ in: body
+ required: false
+ type: string
+pool_name:
+ description: |
+ The name of the storage pool.
+ in: body
+ required: true
+ type: string
+project:
+ description: |
+ The ID of the project. Volume Type access to be
+ added to this project ID.
+ in: body
+ required: true
+ type: string
+project_id:
+ description: |
+ The UUID of the project.
+ in: body
+ required: true
+ type: string
+project_id_1:
+ description: |
+ The Project ID having access to this volume type.
+ in: body
+ required: true
+ type: string
+properties:
+ description: |
+ The backend volume capabilities list, which is
+ consisted of cinder standard capabilities and vendor unique
+ properties.
+ in: body
+ required: true
+ type: object
+qos_specs:
+ description: |
+ A ``qos_specs`` object.
+ in: body
+ required: true
+ type: object
+quota_set:
+ description: |
+ A ``quota_set`` object.
+ in: body
+ required: true
+ type: object
+ram:
+ description: |
+ The amount of instance RAM in megabytes that are
+ allowed for each tenant.
+ in: body
+ required: true
+ type: integer
+rate:
+ description: |
+ Rate-limit volume copy bandwidth, used to
+ mitigate slow down of data access from the instances.
+ in: body
+ required: true
+ type: array
+ref:
+ description: |
+ A reference to the existing volume. The internal
+ structure of this reference depends on the volume driver
+ implementation. For details about the required elements in the
+ structure, see the documentation for the volume driver.
+ in: body
+ required: true
+ type: string
+ref_1:
+ description: |
+ A reference to the existing volume. The internal
+ structure of this reference is dependent on the implementation of
+ the volume driver, see the specific driver's documentation for
+ details of the required elements in the structure.
+ in: body
+ required: true
+ type: object
+remove_volumes:
+ description: |
+ One or more volume UUIDs, separated by commas, to
+ remove from the volume consistency group.
+ in: body
+ required: false
+ type: string
+replication_status:
+ description: |
+ The volume replication status.
+ in: body
+ required: true
+ type: string
+reserved:
+ description: |
+ Reserved volume size. Visible only if you set the
+ ``usage=true`` query parameter.
+ in: body
+ required: false
+ type: integer
+reserved_percentage:
+ description: |
+ The percentage of the total capacity that is
+ reserved for the internal use by the back end.
+ in: body
+ required: true
+ type: integer
+restore:
+ description: |
+ A ``restore`` object.
+ in: body
+ required: true
+ type: object
+scheduler_hints:
+ description: |
+ The dictionary of data to send to the scheduler.
+ in: body
+ required: false
+ type: object
+security_group_rules:
+ description: |
+ The number of rules that are allowed for each
+ security group.
+ in: body
+ required: false
+ type: integer
+security_groups:
+ description: |
+ The number of security groups that are allowed
+ for each tenant.
+ in: body
+ required: true
+ type: integer
+size:
+ description: |
+ The size of the volume, in gibibytes (GiB).
+ in: body
+ required: true
+ type: integer
+size_1:
+ description: |
+ The size of the backup, in GB.
+ in: body
+ required: true
+ type: integer
+snapshot:
+ description: |
+ A partial representation of a snapshot used in
+ the creation process.
+ in: body
+ required: true
+ type: string
+snapshot_1:
+ description: |
+ A ``snapshot`` object.
+ in: body
+ required: true
+ type: object
+snapshot_id:
+ description: |
+ To create a volume from an existing snapshot,
+ specify the UUID of the volume snapshot. The volume is created in
+ same availability zone and with same size as the snapshot.
+ in: body
+ required: false
+ type: string
+snapshot_id_2:
+ description: |
+ The UUID of the source volume snapshot.
+ in: body
+ required: true
+ type: string
+snapshot_id_3:
+ description: |
+ The UUID of the source volume snapshot. The API
+ creates a new volume snapshot with the same size as the source
+ volume snapshot.
+ in: body
+ required: true
+ type: string
+source_cgid:
+ description: |
+ The UUID of the source consistency group.
+ in: body
+ required: false
+ type: string
+source_replica:
+ description: |
+ The UUID of the primary volume to clone.
+ in: body
+ required: false
+ type: string
+source_volid:
+ description: |
+ The UUID of the source volume. The API creates a
+ new volume with the same size as the source volume.
+ in: body
+ required: false
+ type: string
+source_volid_1:
+ description: |
+ The UUID of the source volume.
+ in: body
+ required: true
+ type: string
+specs:
+ description: |
+ A ``specs`` object.
+ in: body
+ required: true
+ type: object
+specs_1:
+ description: |
+ Specification key and value pairs.
+ in: body
+ required: true
+ type: object
+specs_2:
+ description: |
+ Specification key and value pairs.
+ in: body
+ required: true
+ type: string
+status:
+ description: |
+ The ``status`` of the consistency group snapshot.
+ in: body
+ required: false
+ type: string
+status_1:
+ description: |
+ The status of the consistency group.
+ in: body
+ required: true
+ type: string
+status_2:
+ description: |
+ The status for the snapshot.
+ in: body
+ required: true
+ type: string
+status_3:
+ description: |
+ The volume status.
+ in: body
+ required: true
+ type: string
+status_4:
+ description: |
+ The backup status. Refer to Backup statuses table
+ for the possible status value.
+ in: body
+ required: true
+ type: string
+status_5:
+ description: |
+ The consistency group status. A valid value is
+ ``creating``, ``available``, ``error``, ``deleting``,
+ ``updating``, or ``invalid``.
+ in: body
+ required: true
+ type: string
+status_6:
+ description: |
+ The volume status.
+ in: body
+ required: false
+ type: string
+storage_protocol:
+ description: |
+ The storage back end for the back-end volume. For
+ example, ``iSCSI`` or ``FC``.
+ in: body
+ required: true
+ type: string
+storage_protocol_1:
+ description: |
+ The storage protocol, such as Fibre Channel,
+ iSCSI, NFS, and so on.
+ in: body
+ required: true
+ type: string
+totalBackupGigabytesUsed:
+ description: |
+ The total number of backups gibibytes (GiB) used.
+ in: body
+ required: true
+ type: integer
+totalBackupsUsed:
+ description: |
+ The total number of backups used.
+ in: body
+ required: true
+ type: integer
+totalGigabytesUsed:
+ description: |
+ The total number of gibibytes (GiB) used.
+ in: body
+ required: true
+ type: integer
+totalSnapshotsUsed:
+ description: |
+ The total number of snapshots used.
+ in: body
+ required: true
+ type: integer
+totalVolumesUsed:
+ description: |
+ The total number of volumes used.
+ in: body
+ required: true
+ type: integer
+total_capacity:
+ description: |
+ The total capacity for the back-end volume, in
+ GBs. A valid value is a string, such as ``unknown``, or an
+ integer.
+ in: body
+ required: true
+ type: string
+updated:
+ description: |
+ The date and time stamp when the extension was
+ last updated.
+ in: body
+ required: true
+ type: string
+updated_1:
+ description: |
+ The date and time stamp when the API request was
+ issued.
+ in: body
+ required: true
+ type: string
+updated_at:
+ description: |
+ The date and time when the resource was updated.
+
+ The date and time stamp format is `ISO 8601
+ `_:
+
+ ::
+
+ CCYY-MM-DDThh:mm:ss±hh:mm
+
+ For example, ``2015-08-27T09:49:58-05:00``.
+
+ The ``±hh:mm`` value, if included, is the time zone as an offset
+ from UTC. In the previous example, the offset value is ``-05:00``.
+
+ If the ``updated_at`` date and time stamp is not set, its value is
+ ``null``.
+ in: body
+ required: true
+ type: string
+user_id:
+ description: |
+ The UUID of the user.
+ in: body
+ required: true
+ type: string
+vendor_name:
+ description: |
+ The name of the vendor.
+ in: body
+ required: true
+ type: string
+visibility:
+ description: |
+ The volume type access.
+ in: body
+ required: true
+ type: string
+volume:
+ description: |
+ A ``volume`` object.
+ in: body
+ required: true
+ type: object
+volume_1:
+ description: |
+ A ``volume`` object.
+ in: body
+ required: true
+ type: string
+volume_backend_name:
+ description: |
+ The name of the back-end volume.
+ in: body
+ required: true
+ type: string
+volume_id:
+ description: |
+ The UUID of the volume.
+ in: body
+ required: true
+ type: string
+volume_id_2:
+ description: |
+ The UUID of the volume that you want to back up.
+ in: body
+ required: true
+ type: string
+volume_id_3:
+ description: |
+ To create a snapshot from an existing volume,
+ specify the UUID of the existing volume.
+ in: body
+ required: true
+ type: string
+volume_id_4:
+ description: |
+ The UUID of the volume from which the backup was
+ created.
+ in: body
+ required: true
+ type: string
+volume_id_5:
+ description: |
+ If the snapshot was created from a volume, the
+ volume ID.
+ in: body
+ required: true
+ type: string
+volume_id_6:
+ description: |
+ The UUID of the volume to which you want to
+ restore a backup.
+ in: body
+ required: false
+ type: string
+volume_type_1:
+ description: |
+ A ``volume_type`` object.
+ in: body
+ required: true
+ type: object
+volume_type_2:
+ description: |
+ The volume type. To create an environment with
+ multiple-storage back ends, you must specify a volume type. Block
+ Storage volume back ends are spawned as children to ``cinder-
+ volume``, and they are keyed from a unique queue. They are named
+ ``cinder- volume.HOST.BACKEND``. For example, ``cinder-
+ volume.ubuntu.lvmdriver``. When a volume is created, the scheduler
+ chooses an appropriate back end to handle the request based on the
+ volume type. Default is ``None``. For information about how to
+ use volume types to create multiple- storage back ends, see
+ `Configure multiple-storage back ends
+ `_.
+ in: body
+ required: false
+ type: string
+volume_type_3:
+ description: |
+ The volume type. In an environment with multiple-
+ storage back ends, the scheduler determines where to send the
+ volume based on the volume type. For information about how to use
+ volume types to create multiple- storage back ends, see `Configure
+ multiple-storage back ends `_.
+ in: body
+ required: true
+ type: string
+volume_type_4:
+ description: |
+ The associated volume type.
+ in: body
+ required: false
+ type: string
+volume_type_5:
+ description: |
+ A list of ``volume_type`` objects.
+ in: body
+ required: true
+ type: array
+volume_types:
+ description: |
+ The list of volume types. In an environment with
+ multiple-storage back ends, the scheduler determines where to send
+ the volume based on the volume type. For information about how to
+ use volume types to create multiple- storage back ends, see
+ `Configure multiple-storage back ends
+ `_.
+ in: body
+ required: true
+ type: array
+volumes:
+ description: |
+ A list of ``volume`` objects.
+ in: body
+ required: true
+ type: array
diff --git a/api-ref/v2/source/qos-specs-v2-qos-specs.inc b/api-ref/v2/source/qos-specs-v2-qos-specs.inc
new file mode 100644
index 00000000000..8768c9f9c09
--- /dev/null
+++ b/api-ref/v2/source/qos-specs-v2-qos-specs.inc
@@ -0,0 +1,315 @@
+.. -*- rst -*-
+
+===================================================
+Quality of service (QoS) specifications (qos-specs)
+===================================================
+
+Administrators only, depending on policy settings.
+
+Creates, lists, shows details for, associates, disassociates, sets
+keys, unsets keys, and deletes quality of service (QoS)
+specifications.
+
+
+Disassociate QoS specification from all associations
+====================================================
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs/{qos_id}/disassociate_all
+
+Disassociates a QoS specification from all associations.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+
+Unset keys in QoS specification
+===============================
+
+.. rest_method:: PUT /v2/{tenant_id}/qos-specs/{qos_id}/delete_keys
+
+Unsets keys in a QoS specification.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - keys: keys
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/qos-unset-request.json
+ :language: javascript
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/qos-unset-response.json
+ :language: javascript
+
+
+Get all associations for QoS specification
+==========================================
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs/{qos_id}/associations
+
+Lists all associations for a QoS specification.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/qos-show-response.json
+ :language: javascript
+
+
+Associate QoS specification with volume type
+============================================
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs/{qos_id}/associate
+
+Associates a QoS specification with a volume type.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+
+Disassociate QoS specification from volume type
+===============================================
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs/{qos_id}/disassociate
+
+Disassociates a QoS specification from a volume type.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+
+Show QoS specification details
+==============================
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs/{qos_id}
+
+Shows details for a QoS specification.
+
+
+Normal response codes: 200
+Error response codes:413,405,404,403,401,400,503,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - name: name
+ - links: links
+ - id: id
+ - qos_specs: qos_specs
+ - consumer: consumer
+ - specs: specs
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/qos-show-response.json
+ :language: javascript
+
+
+Set keys in QoS specification
+=============================
+
+.. rest_method:: PUT /v2/{tenant_id}/qos-specs/{qos_id}
+
+Sets keys in a QoS specification.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - qos_specs: qos_specs
+ - specs: specs
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/qos-update-request.json
+ :language: javascript
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/qos-update-response.json
+ :language: javascript
+
+
+Delete QoS specification
+========================
+
+.. rest_method:: DELETE /v2/{tenant_id}/qos-specs/{qos_id}
+
+Deletes a QoS specification.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - qos_id: qos_id
+ - force: force
+
+
+Create QoS specification
+========================
+
+.. rest_method:: POST /v2/{tenant_id}/qos-specs
+
+Creates a QoS specification.
+
+Specify one or more key and value pairs in the request body.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - qos_specs: qos_specs
+ - consumer: consumer
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/qos-create-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - name: name
+ - links: links
+ - id: id
+ - qos_specs: qos_specs
+ - consumer: consumer
+ - specs: specs
+
+
+List QoS specs
+==============
+
+.. rest_method:: GET /v2/{tenant_id}/qos-specs
+
+Lists quality of service (QoS) specifications.
+
+
+Normal response codes: 200
+Error response codes:300,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - specs: specs
+ - qos_specs: qos_specs
+ - consumer: consumer
+ - id: id
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/qos-list-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/quota-sets.inc b/api-ref/v2/source/quota-sets.inc
new file mode 100644
index 00000000000..49df485cffd
--- /dev/null
+++ b/api-ref/v2/source/quota-sets.inc
@@ -0,0 +1,407 @@
+.. -*- rst -*-
+
+====================================
+Quota sets extension (os-quota-sets)
+====================================
+
+Administrators only, depending on policy settings.
+
+Shows, updates, and deletes quotas for a tenant.
+
+
+Show quotas for user
+====================
+
+.. rest_method:: GET /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Enables an admin user to show quotas for a tenant and user.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+ - admin_tenant_id: admin_tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-update-response.json
+ :language: javascript
+
+
+Update quotas for user
+======================
+
+.. rest_method:: PUT /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Updates quotas for a tenant and user.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+ - tenant_id: tenant_id
+ - user_id: user_id
+ - admin_tenant_id: admin_tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/quotas-update-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-update-response.json
+ :language: javascript
+
+Delete quotas for user
+======================
+
+.. rest_method:: DELETE /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}/{user_id}
+
+Deletes quotas for a user so that the quotas revert to default values.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+ - admin_tenant_id: admin_tenant_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-delete-response.json
+ :language: javascript
+
+
+Show quotas
+===========
+
+.. rest_method:: GET /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}
+
+Shows quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - admin_tenant_id: admin_tenant_id
+ - usage: usage
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-show-response.json
+ :language: javascript
+
+Update quotas
+=============
+
+.. rest_method:: PUT /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}
+
+Updates quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+ - tenant_id: tenant_id
+ - admin_tenant_id: admin_tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/quotas-update-request.json
+ :language: javascript
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-update-response.json
+ :language: javascript
+
+Delete quotas
+=============
+
+.. rest_method:: DELETE /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}
+
+Deletes quotas for a tenant so the quotas revert to default values.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - admin_tenant_id: admin_tenant_id
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-delete-response.json
+ :language: javascript
+
+Show quota details for user
+===========================
+
+.. rest_method:: GET /v2/{admin_tenant_id}/os-quota-sets/{tenant_id}/detail/{user_id}
+
+Shows details for quotas for a tenant and user.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - user_id: user_id
+ - admin_tenant_id: admin_tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-update-response.json
+ :language: javascript
+
+
+Get default quotas
+==================
+
+.. rest_method:: GET /v2/{tenant_id}/os-quota-sets/defaults
+
+Gets default quotas for a tenant.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - injected_file_content_bytes: injected_file_content_bytes
+ - metadata_items: metadata_items
+ - reserved: reserved
+ - in_use: in_use
+ - ram: ram
+ - floating_ips: floating_ips
+ - key_pairs: key_pairs
+ - injected_file_path_bytes: injected_file_path_bytes
+ - instances: instances
+ - security_group_rules: security_group_rules
+ - injected_files: injected_files
+ - quota_set: quota_set
+ - cores: cores
+ - fixed_ips: fixed_ips
+ - id: id
+ - security_groups: security_groups
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/quotas-show-defaults-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/samples/backend-capabilities-response.json b/api-ref/v2/source/samples/backend-capabilities-response.json
new file mode 100644
index 00000000000..a72a238156c
--- /dev/null
+++ b/api-ref/v2/source/samples/backend-capabilities-response.json
@@ -0,0 +1,33 @@
+{
+ "namespace": "OS::Storage::Capabilities::fake",
+ "vendor_name": "OpenStack",
+ "volume_backend_name": "lvm",
+ "pool_name": "pool",
+ "driver_version": "2.0.0",
+ "storage_protocol": "iSCSI",
+ "display_name": "Capabilities of Cinder LVM driver",
+ "description": "These are volume type options provided by Cinder LVM driver, blah, blah.",
+ "visibility": "public",
+ "properties": {
+ "compression": {
+ "title": "Compression",
+ "description": "Enables compression.",
+ "type": "boolean"
+ },
+ "qos": {
+ "title": "QoS",
+ "description": "Enables QoS.",
+ "type": "boolean"
+ },
+ "replication": {
+ "title": "Replication",
+ "description": "Enables replication.",
+ "type": "boolean"
+ },
+ "thin_provisioning": {
+ "title": "Thin Provisioning",
+ "description": "Sets thin provisioning.",
+ "type": "boolean"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-create-request.json b/api-ref/v2/source/samples/backup-create-request.json
new file mode 100644
index 00000000000..c7f8a74d5db
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-create-request.json
@@ -0,0 +1,9 @@
+{
+ "backup": {
+ "container": null,
+ "description": null,
+ "name": "backup001",
+ "volume_id": "64f5d2fb-d836-4063-b7e2-544d5c1ff607",
+ "incremental": true
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-create-response.json b/api-ref/v2/source/samples/backup-create-response.json
new file mode 100644
index 00000000000..e2aec1c8f4b
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-create-response.json
@@ -0,0 +1,16 @@
+{
+ "backup": {
+ "id": "deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup001"
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-force-delete-request.json b/api-ref/v2/source/samples/backup-force-delete-request.json
new file mode 100644
index 00000000000..5c56464d919
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-force-delete-request.json
@@ -0,0 +1,3 @@
+{
+ "os-force_delete": {}
+}
diff --git a/api-ref/v2/source/samples/backup-record-export-response.json b/api-ref/v2/source/samples/backup-record-export-response.json
new file mode 100644
index 00000000000..8783eeda0ea
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-record-export-response.json
@@ -0,0 +1,6 @@
+{
+ "backup-record": {
+ "backup_service": "cinder.backup.drivers.swift",
+ "backup_url": "eyJzdGF0"
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-record-import-request.json b/api-ref/v2/source/samples/backup-record-import-request.json
new file mode 100644
index 00000000000..8783eeda0ea
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-record-import-request.json
@@ -0,0 +1,6 @@
+{
+ "backup-record": {
+ "backup_service": "cinder.backup.drivers.swift",
+ "backup_url": "eyJzdGF0"
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-record-import-response.json b/api-ref/v2/source/samples/backup-record-import-response.json
new file mode 100644
index 00000000000..60eeabbc931
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-record-import-response.json
@@ -0,0 +1,16 @@
+{
+ "backup": {
+ "id": "deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
+ "rel": "bookmark"
+ }
+ ],
+ "name": null
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-restore-request.json b/api-ref/v2/source/samples/backup-restore-request.json
new file mode 100644
index 00000000000..2ccb7e516be
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-restore-request.json
@@ -0,0 +1,6 @@
+{
+ "restore": {
+ "name": "vol-01",
+ "volume_id": "64f5d2fb-d836-4063-b7e2-544d5c1ff607"
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-restore-response.json b/api-ref/v2/source/samples/backup-restore-response.json
new file mode 100644
index 00000000000..a344ea56cdc
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-restore-response.json
@@ -0,0 +1,6 @@
+{
+ "restore": {
+ "backup_id": "2ef47aee-8844-490c-804d-2a8efe561c65",
+ "volume_id": "795114e8-7489-40be-a978-83797f2c1dd3"
+ }
+}
diff --git a/api-ref/v2/source/samples/backup-show-response.json b/api-ref/v2/source/samples/backup-show-response.json
new file mode 100644
index 00000000000..c4fe0ffc4e5
--- /dev/null
+++ b/api-ref/v2/source/samples/backup-show-response.json
@@ -0,0 +1,27 @@
+{
+ "backup": {
+ "availability_zone": "az1",
+ "container": "volumebackups",
+ "created_at": "2013-04-02T10:35:27.000000",
+ "description": null,
+ "fail_reason": null,
+ "id": "2ef47aee-8844-490c-804d-2a8efe561c65",
+ "links": [
+ {
+ "href": "http://localhost:8776/v1/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup001",
+ "object_count": 22,
+ "size": 1,
+ "status": "available",
+ "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
+ "is_incremental": true,
+ "has_dependent_backups": false
+ }
+}
diff --git a/api-ref/v2/source/samples/backups-list-detailed-response.json b/api-ref/v2/source/samples/backups-list-detailed-response.json
new file mode 100644
index 00000000000..d729ada6848
--- /dev/null
+++ b/api-ref/v2/source/samples/backups-list-detailed-response.json
@@ -0,0 +1,54 @@
+{
+ "backups": [
+ {
+ "availability_zone": "az1",
+ "container": "volumebackups",
+ "created_at": "2013-04-02T10:35:27.000000",
+ "description": null,
+ "fail_reason": null,
+ "id": "2ef47aee-8844-490c-804d-2a8efe561c65",
+ "links": [
+ {
+ "href": "http://localhost:8776/v1/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup001",
+ "object_count": 22,
+ "size": 1,
+ "status": "available",
+ "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
+ "is_incremental": true,
+ "has_dependent_backups": false
+ },
+ {
+ "availability_zone": "az1",
+ "container": "volumebackups",
+ "created_at": "2013-04-02T10:21:48.000000",
+ "description": null,
+ "fail_reason": null,
+ "id": "4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "links": [
+ {
+ "href": "http://localhost:8776/v1/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup002",
+ "object_count": 22,
+ "size": 1,
+ "status": "available",
+ "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
+ "is_incremental": true,
+ "has_dependent_backups": false
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/backups-list-response.json b/api-ref/v2/source/samples/backups-list-response.json
new file mode 100644
index 00000000000..8dd7d785abd
--- /dev/null
+++ b/api-ref/v2/source/samples/backups-list-response.json
@@ -0,0 +1,32 @@
+{
+ "backups": [
+ {
+ "id": "2ef47aee-8844-490c-804d-2a8efe561c65",
+ "links": [
+ {
+ "href": "http://localhost:8776/v1/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup001"
+ },
+ {
+ "id": "4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "links": [
+ {
+ "href": "http://localhost:8776/v1/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "backup002"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/cgsnapshots-create-request.json b/api-ref/v2/source/samples/cgsnapshots-create-request.json
new file mode 100644
index 00000000000..36d6f45374e
--- /dev/null
+++ b/api-ref/v2/source/samples/cgsnapshots-create-request.json
@@ -0,0 +1,10 @@
+{
+ "cgsnapshot": {
+ "consistencygroup_id": "6f519a48-3183-46cf-a32f-41815f814546",
+ "name": "firstcg",
+ "description": "first consistency group",
+ "user_id": "6f519a48-3183-46cf-a32f-41815f814444",
+ "project_id": "6f519a48-3183-46cf-a32f-41815f815555",
+ "status": "creating"
+ }
+}
diff --git a/api-ref/v2/source/samples/cgsnapshots-create-response.json b/api-ref/v2/source/samples/cgsnapshots-create-response.json
new file mode 100644
index 00000000000..6d24a97f134
--- /dev/null
+++ b/api-ref/v2/source/samples/cgsnapshots-create-response.json
@@ -0,0 +1,6 @@
+{
+ "cgsnapshot": {
+ "id": "6f519a48-3183-46cf-a32f-41815f816666",
+ "name": "firstcg"
+ }
+}
diff --git a/api-ref/v2/source/samples/cgsnapshots-list-detailed-response.json b/api-ref/v2/source/samples/cgsnapshots-list-detailed-response.json
new file mode 100644
index 00000000000..93ad12870a9
--- /dev/null
+++ b/api-ref/v2/source/samples/cgsnapshots-list-detailed-response.json
@@ -0,0 +1,20 @@
+{
+ "cgsnapshots": [
+ {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "consistencygroup_id": "6f519a48-3183-46cf-a32f-41815f814444",
+ "status": "available",
+ "created_at": "2015-09-16T09:28:52.000000",
+ "name": "my-cg1",
+ "description": "my first consistency group"
+ },
+ {
+ "id": "aed36625-a6d7-4681-ba59-c7ba3d18c148",
+ "consistencygroup_id": "aed36625-a6d7-4681-ba59-c7ba3d18dddd",
+ "status": "error",
+ "created_at": "2015-09-16T09:31:15.000000",
+ "name": "my-cg2",
+ "description": "Edited description"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/cgsnapshots-list-response.json b/api-ref/v2/source/samples/cgsnapshots-list-response.json
new file mode 100644
index 00000000000..726aa803abb
--- /dev/null
+++ b/api-ref/v2/source/samples/cgsnapshots-list-response.json
@@ -0,0 +1,12 @@
+{
+ "cgsnapshots": [
+ {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "name": "my-cg1"
+ },
+ {
+ "id": "aed36625-a6d7-4681-ba59-c7ba3d18c148",
+ "name": "my-cg2"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/cgsnapshots-show-response.json b/api-ref/v2/source/samples/cgsnapshots-show-response.json
new file mode 100644
index 00000000000..632a5afbad5
--- /dev/null
+++ b/api-ref/v2/source/samples/cgsnapshots-show-response.json
@@ -0,0 +1,10 @@
+{
+ "cgsnapshot": {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "consistencygroup_id": "6f519a48-3183-46cf-a32f-41815f814444",
+ "status": "available",
+ "created_at": "2015-09-16T09:28:52.000000",
+ "name": "my-cg1",
+ "description": "my first consistency group"
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-create-from-src-request.json b/api-ref/v2/source/samples/consistency-group-create-from-src-request.json
new file mode 100644
index 00000000000..ad25c5d0221
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-create-from-src-request.json
@@ -0,0 +1,11 @@
+{
+ "consistencygroup-from-src": {
+ "name": "firstcg",
+ "description": "first consistency group",
+ "cgsnapshot_id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "source_cgid": "6f519a48-3183-46cf-a32f-41815f814546",
+ "user_id": "6f519a48-3183-46cf-a32f-41815f815555",
+ "project_id": "6f519a48-3183-46cf-a32f-41815f814444",
+ "status": "creating"
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-create-request.json b/api-ref/v2/source/samples/consistency-group-create-request.json
new file mode 100644
index 00000000000..29c691c572e
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-create-request.json
@@ -0,0 +1,14 @@
+{
+ "consistencygroup": {
+ "name": "firstcg",
+ "description": "first consistency group",
+ "volume_types": [
+ "type1",
+ "type2"
+ ],
+ "user_id": "6f519a48-3183-46cf-a32f-41815f814546",
+ "project_id": "6f519a48-3183-46cf-a32f-41815f815555",
+ "availability_zone": "az0",
+ "status": "creating"
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-create-response.json b/api-ref/v2/source/samples/consistency-group-create-response.json
new file mode 100644
index 00000000000..113950ab60b
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-create-response.json
@@ -0,0 +1,6 @@
+{
+ "consistencygroup": {
+ "id": "6f519a48-3183-46cf-a32f-41815f816666",
+ "name": "firstcg"
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-delete-request.json b/api-ref/v2/source/samples/consistency-group-delete-request.json
new file mode 100644
index 00000000000..8ad8745e7bc
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-delete-request.json
@@ -0,0 +1,5 @@
+{
+ "consistencygroup": {
+ "force": false
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-show-response.json b/api-ref/v2/source/samples/consistency-group-show-response.json
new file mode 100644
index 00000000000..3cbb87d741b
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-show-response.json
@@ -0,0 +1,13 @@
+{
+ "consistencygroup": {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "status": "available",
+ "availability_zone": "az1",
+ "created_at": "2015-09-16T09:28:52.000000",
+ "name": "my-cg1",
+ "description": "my first consistency group",
+ "volume_types": [
+ "123456"
+ ]
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-group-show-response.xml b/api-ref/v2/source/samples/consistency-group-show-response.xml
new file mode 100644
index 00000000000..a9d2b4dd9ea
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-show-response.xml
@@ -0,0 +1,14 @@
+
+
+
+
+ "123456"
+
+
+
diff --git a/api-ref/v2/source/samples/consistency-group-update-request.json b/api-ref/v2/source/samples/consistency-group-update-request.json
new file mode 100644
index 00000000000..94546551611
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-group-update-request.json
@@ -0,0 +1,8 @@
+{
+ "consistencygroup": {
+ "name": "my_cg",
+ "description": "My consistency group",
+ "add_volumes": "volume-uuid-1,volume-uuid-2",
+ "remove_volumes": "volume-uuid-8,volume-uuid-9"
+ }
+}
diff --git a/api-ref/v2/source/samples/consistency-groups-list-detailed-response.json b/api-ref/v2/source/samples/consistency-groups-list-detailed-response.json
new file mode 100644
index 00000000000..618c65882bc
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-groups-list-detailed-response.json
@@ -0,0 +1,26 @@
+{
+ "consistencygroups": [
+ {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "status": "available",
+ "availability_zone": "az1",
+ "created_at": "2015-09-16T09:28:52.000000",
+ "name": "my-cg1",
+ "description": "my first consistency group",
+ "volume_types": [
+ "123456"
+ ]
+ },
+ {
+ "id": "aed36625-a6d7-4681-ba59-c7ba3d18c148",
+ "status": "error",
+ "availability_zone": "az2",
+ "created_at": "2015-09-16T09:31:15.000000",
+ "name": "my-cg2",
+ "description": "Edited description",
+ "volume_types": [
+ "234567"
+ ]
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/consistency-groups-list-detailed-response.xml b/api-ref/v2/source/samples/consistency-groups-list-detailed-response.xml
new file mode 100644
index 00000000000..bed4f625663
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-groups-list-detailed-response.xml
@@ -0,0 +1,25 @@
+
+
+
+
+ "123456"
+
+
+
+
+ "234567"
+
+
+
diff --git a/api-ref/v2/source/samples/consistency-groups-list-response.json b/api-ref/v2/source/samples/consistency-groups-list-response.json
new file mode 100644
index 00000000000..a53863f4372
--- /dev/null
+++ b/api-ref/v2/source/samples/consistency-groups-list-response.json
@@ -0,0 +1,12 @@
+{
+ "consistencygroups": [
+ {
+ "id": "6f519a48-3183-46cf-a32f-41815f813986",
+ "name": "my-cg1"
+ },
+ {
+ "id": "aed36625-a6d7-4681-ba59-c7ba3d18c148",
+ "name": "my-cg2"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/extensions-list-response.json b/api-ref/v2/source/samples/extensions-list-response.json
new file mode 100644
index 00000000000..55003a9066e
--- /dev/null
+++ b/api-ref/v2/source/samples/extensions-list-response.json
@@ -0,0 +1,212 @@
+{
+ "extensions": [
+ {
+ "updated": "2013-04-18T00:00:00+00:00",
+ "name": "SchedulerHints",
+ "links": [],
+ "namespace": "http://docs.openstack.org/block-service/ext/scheduler-hints/api/v2",
+ "alias": "OS-SCH-HNT",
+ "description": "Pass arbitrary key/value pairs to the scheduler."
+ },
+ {
+ "updated": "2011-06-29T00:00:00+00:00",
+ "name": "Hosts",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/hosts/api/v1.1",
+ "alias": "os-hosts",
+ "description": "Admin-only host administration."
+ },
+ {
+ "updated": "2011-11-03T00:00:00+00:00",
+ "name": "VolumeTenantAttribute",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume_tenant_attribute/api/v1",
+ "alias": "os-vol-tenant-attr",
+ "description": "Expose the internal project_id as an attribute of a volume."
+ },
+ {
+ "updated": "2011-08-08T00:00:00+00:00",
+ "name": "Quotas",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/quotas-sets/api/v1.1",
+ "alias": "os-quota-sets",
+ "description": "Quota management support."
+ },
+ {
+ "updated": "2011-08-24T00:00:00+00:00",
+ "name": "TypesManage",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/types-manage/api/v1",
+ "alias": "os-types-manage",
+ "description": "Types manage support."
+ },
+ {
+ "updated": "2013-07-10T00:00:00+00:00",
+ "name": "VolumeEncryptionMetadata",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/os-volume-encryption-metadata/api/v1",
+ "alias": "os-volume-encryption-metadata",
+ "description": "Volume encryption metadata retrieval support."
+ },
+ {
+ "updated": "2012-12-12T00:00:00+00:00",
+ "name": "Backups",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/backups/api/v1",
+ "alias": "backups",
+ "description": "Backups support."
+ },
+ {
+ "updated": "2013-07-16T00:00:00+00:00",
+ "name": "SnapshotActions",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/snapshot-actions/api/v1.1",
+ "alias": "os-snapshot-actions",
+ "description": "Enable snapshot manager actions."
+ },
+ {
+ "updated": "2012-05-31T00:00:00+00:00",
+ "name": "VolumeActions",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume-actions/api/v1.1",
+ "alias": "os-volume-actions",
+ "description": "Enable volume actions\n "
+ },
+ {
+ "updated": "2013-10-03T00:00:00+00:00",
+ "name": "UsedLimits",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/used-limits/api/v1.1",
+ "alias": "os-used-limits",
+ "description": "Provide data on limited resources that are being used."
+ },
+ {
+ "updated": "2012-05-31T00:00:00+00:00",
+ "name": "VolumeUnmanage",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume-unmanage/api/v1.1",
+ "alias": "os-volume-unmanage",
+ "description": "Enable volume unmanage operation."
+ },
+ {
+ "updated": "2011-11-03T00:00:00+00:00",
+ "name": "VolumeHostAttribute",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume_host_attribute/api/v1",
+ "alias": "os-vol-host-attr",
+ "description": "Expose host as an attribute of a volume."
+ },
+ {
+ "updated": "2013-07-01T00:00:00+00:00",
+ "name": "VolumeTypeEncryption",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume-type-encryption/api/v1",
+ "alias": "encryption",
+ "description": "Encryption support for volume types."
+ },
+ {
+ "updated": "2013-06-27T00:00:00+00:00",
+ "name": "AvailabilityZones",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/os-availability-zone/api/v1",
+ "alias": "os-availability-zone",
+ "description": "Describe Availability Zones."
+ },
+ {
+ "updated": "2013-08-02T00:00:00+00:00",
+ "name": "Qos_specs_manage",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/qos-specs/api/v1",
+ "alias": "qos-specs",
+ "description": "QoS specs support."
+ },
+ {
+ "updated": "2011-08-24T00:00:00+00:00",
+ "name": "TypesExtraSpecs",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/types-extra-specs/api/v1",
+ "alias": "os-types-extra-specs",
+ "description": "Type extra specs support."
+ },
+ {
+ "updated": "2013-08-08T00:00:00+00:00",
+ "name": "VolumeMigStatusAttribute",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume_mig_status_attribute/api/v1",
+ "alias": "os-vol-mig-status-attr",
+ "description": "Expose migration_status as an attribute of a volume."
+ },
+ {
+ "updated": "2012-08-13T00:00:00+00:00",
+ "name": "CreateVolumeExtension",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/image-create/api/v1",
+ "alias": "os-image-create",
+ "description": "Allow creating a volume from an image in the Create Volume v1 API."
+ },
+ {
+ "updated": "2014-01-10T00:00:00-00:00",
+ "name": "ExtendedServices",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/extended_services/api/v2",
+ "alias": "os-extended-services",
+ "description": "Extended services support."
+ },
+ {
+ "updated": "2012-06-19T00:00:00+00:00",
+ "name": "ExtendedSnapshotAttributes",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/extended_snapshot_attributes/api/v1",
+ "alias": "os-extended-snapshot-attributes",
+ "description": "Extended SnapshotAttributes support."
+ },
+ {
+ "updated": "2012-12-07T00:00:00+00:00",
+ "name": "VolumeImageMetadata",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume_image_metadata/api/v1",
+ "alias": "os-vol-image-meta",
+ "description": "Show image metadata associated with the volume."
+ },
+ {
+ "updated": "2012-03-12T00:00:00+00:00",
+ "name": "QuotaClasses",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/quota-classes-sets/api/v1.1",
+ "alias": "os-quota-class-sets",
+ "description": "Quota classes management support."
+ },
+ {
+ "updated": "2013-05-29T00:00:00+00:00",
+ "name": "VolumeTransfer",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/volume-transfer/api/v1.1",
+ "alias": "os-volume-transfer",
+ "description": "Volume transfer management support."
+ },
+ {
+ "updated": "2014-02-10T00:00:00+00:00",
+ "name": "VolumeManage",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/os-volume-manage/api/v1",
+ "alias": "os-volume-manage",
+ "description": "Allows existing backend storage to be 'managed' by Cinder."
+ },
+ {
+ "updated": "2012-08-25T00:00:00+00:00",
+ "name": "AdminActions",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/admin-actions/api/v1.1",
+ "alias": "os-admin-actions",
+ "description": "Enable admin actions."
+ },
+ {
+ "updated": "2012-10-28T00:00:00-00:00",
+ "name": "Services",
+ "links": [],
+ "namespace": "http://docs.openstack.org/volume/ext/services/api/v2",
+ "alias": "os-services",
+ "description": "Services support."
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/extensions-list-response.xml b/api-ref/v2/source/samples/extensions-list-response.xml
new file mode 100644
index 00000000000..969efec6b5c
--- /dev/null
+++ b/api-ref/v2/source/samples/extensions-list-response.xml
@@ -0,0 +1,165 @@
+
+
+
+ Pass arbitrary key/value pairs to the
+ scheduler.
+
+
+ Admin-only host administration.
+
+
+ Expose the internal project_id as an attribute of
+ a volume.
+
+
+ Quota management support.
+
+
+ Types manage support.
+
+
+ Volume encryption metadata retrieval
+ support.
+
+
+ Backups support.
+
+
+ Enable snapshot manager actions.
+
+
+ Enable volume actions
+
+
+ Provide data on limited resources that are being
+ used.
+
+
+ Enable volume unmanage operation.
+
+
+ Expose host as an attribute of a
+ volume.
+
+
+ Encryption support for volume
+ types.
+
+
+ Describe Availability Zones.
+
+
+ QoS specs support.
+
+
+ Type extra specs support.
+
+
+ Expose migration_status as an attribute of a
+ volume.
+
+
+ Allow creating a volume from an image in the
+ Create Volume v1 API.
+
+
+ Extended services support.
+
+
+ Extended SnapshotAttributes
+ support.
+
+
+ Show image metadata associated with the
+ volume.
+
+
+ Quota classes management support.
+
+
+ Volume transfer management support.
+
+
+ Allows existing back end storage to be 'managed'
+ by cinder.
+
+
+ Enable admin actions.
+
+
+ Services support.
+
+
diff --git a/api-ref/v2/source/samples/host-attach-request.json b/api-ref/v2/source/samples/host-attach-request.json
new file mode 100644
index 00000000000..01d0644513c
--- /dev/null
+++ b/api-ref/v2/source/samples/host-attach-request.json
@@ -0,0 +1,5 @@
+{
+ "os-attach": {
+ "host_name": "my_host"
+ }
+}
diff --git a/api-ref/v2/source/samples/image-metadata-show-request.json b/api-ref/v2/source/samples/image-metadata-show-request.json
new file mode 100644
index 00000000000..f84e8261dd9
--- /dev/null
+++ b/api-ref/v2/source/samples/image-metadata-show-request.json
@@ -0,0 +1,18 @@
+{
+ "volume": {
+ "host": "geraint-VirtualBox",
+ "ref": {
+ "source-volume-name": "existingLV",
+ "source-volume-id": "1234"
+ },
+ "name": "New Volume",
+ "availability_zone": "az2",
+ "description": "Volume imported from existingLV",
+ "volume_type": null,
+ "bootable": true,
+ "metadata": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/image-metadata-show-response.json b/api-ref/v2/source/samples/image-metadata-show-response.json
new file mode 100644
index 00000000000..343ca66bc71
--- /dev/null
+++ b/api-ref/v2/source/samples/image-metadata-show-response.json
@@ -0,0 +1,33 @@
+{
+ "volume": {
+ "status": "creating",
+ "user_id": "eae1472b5fc5496998a3d06550929e7e",
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://10.0.2.15:8776/v2/87c8522052ca4eed98bc672b4c1a3ddb/volumes/23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "rel": "self"
+ },
+ {
+ "href": "http://10.0.2.15:8776/87c8522052ca4eed98bc672b4c1a3ddb/volumes/23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "az2",
+ "bootable": "false",
+ "encrypted": "false",
+ "created_at": "2014-07-18T00:12:54.000000",
+ "description": "Volume imported from existingLV",
+ "os-vol-tenant-attr:tenant_id": "87c8522052ca4eed98bc672b4c1a3ddb",
+ "volume_type": null,
+ "name": "New Volume",
+ "source_volid": null,
+ "snapshot_id": null,
+ "metadata": {
+ "key2": "value2",
+ "key1": "value1"
+ },
+ "id": "23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "size": 0
+ }
+}
diff --git a/api-ref/v2/source/samples/limits-show-response.json b/api-ref/v2/source/samples/limits-show-response.json
new file mode 100644
index 00000000000..38d0ccd3c1b
--- /dev/null
+++ b/api-ref/v2/source/samples/limits-show-response.json
@@ -0,0 +1,17 @@
+{
+ "limits": {
+ "rate": [],
+ "absolute": {
+ "totalSnapshotsUsed": 0,
+ "maxTotalBackups": 10,
+ "maxTotalVolumeGigabytes": 1000,
+ "maxTotalSnapshots": 10,
+ "maxTotalBackupGigabytes": 1000,
+ "totalBackupGigabytesUsed": 0,
+ "maxTotalVolumes": 10,
+ "totalVolumesUsed": 0,
+ "totalBackupsUsed": 0,
+ "totalGigabytesUsed": 0
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/limits-show-response.xml b/api-ref/v2/source/samples/limits-show-response.xml
new file mode 100644
index 00000000000..0f932b074d7
--- /dev/null
+++ b/api-ref/v2/source/samples/limits-show-response.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api-ref/v2/source/samples/pools-list-detailed-response.json b/api-ref/v2/source/samples/pools-list-detailed-response.json
new file mode 100644
index 00000000000..3fc28a2992f
--- /dev/null
+++ b/api-ref/v2/source/samples/pools-list-detailed-response.json
@@ -0,0 +1,30 @@
+{
+ "pools": [
+ {
+ "name": "pool1",
+ "capabilities": {
+ "updated": "2014-10-28T00:00:00-00:00",
+ "total_capacity": 1024,
+ "free_capacity": 100,
+ "volume_backend_name": "pool1",
+ "reserved_percentage": 0,
+ "driver_version": "1.0.0",
+ "storage_protocol": "iSCSI",
+ "QoS_support": false
+ }
+ },
+ {
+ "name": "pool2",
+ "capabilities": {
+ "updated": "2014-10-28T00:00:00-00:00",
+ "total_capacity": 512,
+ "free_capacity": 200,
+ "volume_backend_name": "pool2",
+ "reserved_percentage": 0,
+ "driver_version": "1.0.1",
+ "storage_protocol": "iSER",
+ "QoS_support": true
+ }
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos-create-request.json b/api-ref/v2/source/samples/qos-create-request.json
new file mode 100644
index 00000000000..c0db909bd69
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-create-request.json
@@ -0,0 +1,7 @@
+{
+ "qos_specs": {
+ "availability": "100",
+ "name": "reliability-spec",
+ "numberOfFailures": "0"
+ }
+}
diff --git a/api-ref/v2/source/samples/qos-create-request.xml b/api-ref/v2/source/samples/qos-create-request.xml
new file mode 100644
index 00000000000..ac772236cac
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-create-request.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/api-ref/v2/source/samples/qos-create-response.json b/api-ref/v2/source/samples/qos-create-response.json
new file mode 100644
index 00000000000..8fbf233767c
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-create-response.json
@@ -0,0 +1,21 @@
+{
+ "qos_specs": {
+ "specs": {
+ "numberOfFailures": "0",
+ "availability": "100"
+ },
+ "consumer": "back-end",
+ "name": "reliability-spec",
+ "id": "599ef437-1c99-42ec-9fc6-239d0519fef1"
+ },
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v2/bab7d5c60cd041a0a36f7c4b6e1dd978/qos_specs/599ef437-1c99-42ec-9fc6-239d0519fef1",
+ "rel": "self"
+ },
+ {
+ "href": "http://23.253.248.171:8776/bab7d5c60cd041a0a36f7c4b6e1dd978/qos_specs/599ef437-1c99-42ec-9fc6-239d0519fef1",
+ "rel": "bookmark"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos-create-response.xml b/api-ref/v2/source/samples/qos-create-response.xml
new file mode 100644
index 00000000000..b2393248699
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-create-response.xml
@@ -0,0 +1,9 @@
+
+
+
+
+ 0
+ 100
+
+
+
diff --git a/api-ref/v2/source/samples/qos-list-response.json b/api-ref/v2/source/samples/qos-list-response.json
new file mode 100644
index 00000000000..92f2a6216ed
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-list-response.json
@@ -0,0 +1,22 @@
+{
+ "qos_specs": [
+ {
+ "specs": {
+ "availability": "100",
+ "numberOfFailures": "0"
+ },
+ "consumer": "back-end",
+ "name": "reliability-spec",
+ "id": "0388d6c6-d5d4-42a3-b289-95205c50dd15"
+ },
+ {
+ "specs": {
+ "delay": "0",
+ "throughput": "100"
+ },
+ "consumer": "back-end",
+ "name": "performance-spec",
+ "id": "ecfc6e2e-7117-44a4-8eec-f84d04f531a8"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos-list-response.xml b/api-ref/v2/source/samples/qos-list-response.xml
new file mode 100644
index 00000000000..c77e7847ff3
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-list-response.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 0
+ 100
+
+
+
diff --git a/api-ref/v2/source/samples/qos-show-response.json b/api-ref/v2/source/samples/qos-show-response.json
new file mode 100644
index 00000000000..d9a1dc1912a
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-show-response.json
@@ -0,0 +1,21 @@
+{
+ "qos_specs": {
+ "specs": {
+ "availability": "100",
+ "numberOfFailures": "0"
+ },
+ "consumer": "back-end",
+ "name": "reliability-spec",
+ "id": "0388d6c6-d5d4-42a3-b289-95205c50dd15"
+ },
+ "links": [
+ {
+ "href": "http://23.253.228.211:8776/v2/e1cf63117ae74309a5bcc2002a23be8b/qos_specs/0388d6c6-d5d4-42a3-b289-95205c50dd15",
+ "rel": "self"
+ },
+ {
+ "href": "http://23.253.228.211:8776/e1cf63117ae74309a5bcc2002a23be8b/qos_specs/0388d6c6-d5d4-42a3-b289-95205c50dd15",
+ "rel": "bookmark"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos-show-response.xml b/api-ref/v2/source/samples/qos-show-response.xml
new file mode 100644
index 00000000000..7aee8126ce8
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-show-response.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ 100
+ 0
+
+
+
diff --git a/api-ref/v2/source/samples/qos-unset-request.json b/api-ref/v2/source/samples/qos-unset-request.json
new file mode 100644
index 00000000000..4193b73921a
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-unset-request.json
@@ -0,0 +1,5 @@
+{
+ "keys": [
+ "key1"
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos-unset-request.xml b/api-ref/v2/source/samples/qos-unset-request.xml
new file mode 100644
index 00000000000..c6f10f9f37b
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-unset-request.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/qos-unset-response.json b/api-ref/v2/source/samples/qos-unset-response.json
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/api-ref/v2/source/samples/qos-update-request.json b/api-ref/v2/source/samples/qos-update-request.json
new file mode 100644
index 00000000000..1d398770584
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-update-request.json
@@ -0,0 +1,5 @@
+{
+ "qos_specs": {
+ "delay": "1"
+ }
+}
diff --git a/api-ref/v2/source/samples/qos-update-request.xml b/api-ref/v2/source/samples/qos-update-request.xml
new file mode 100644
index 00000000000..78524c7cadb
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-update-request.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/api-ref/v2/source/samples/qos-update-response.json b/api-ref/v2/source/samples/qos-update-response.json
new file mode 100644
index 00000000000..1d398770584
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-update-response.json
@@ -0,0 +1,5 @@
+{
+ "qos_specs": {
+ "delay": "1"
+ }
+}
diff --git a/api-ref/v2/source/samples/qos-update-response.xml b/api-ref/v2/source/samples/qos-update-response.xml
new file mode 100644
index 00000000000..ed8dd0578d9
--- /dev/null
+++ b/api-ref/v2/source/samples/qos-update-response.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/qos_show_response.json b/api-ref/v2/source/samples/qos_show_response.json
new file mode 100644
index 00000000000..4a5d9db6aae
--- /dev/null
+++ b/api-ref/v2/source/samples/qos_show_response.json
@@ -0,0 +1,9 @@
+{
+ "qos_associations": [
+ {
+ "association_type": "volume_type",
+ "name": "reliability-type",
+ "id": "a12983c2-83bd-4afa-be9f-ad796573ead6"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/qos_show_response.xml b/api-ref/v2/source/samples/qos_show_response.xml
new file mode 100644
index 00000000000..e208b8a2085
--- /dev/null
+++ b/api-ref/v2/source/samples/qos_show_response.xml
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/quotas-defaults-show-response.xml b/api-ref/v2/source/samples/quotas-defaults-show-response.xml
new file mode 100644
index 00000000000..76a9292c137
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-defaults-show-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v2/source/samples/quotas-delete-response.json b/api-ref/v2/source/samples/quotas-delete-response.json
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/api-ref/v2/source/samples/quotas-show-defaults-response.json b/api-ref/v2/source/samples/quotas-show-defaults-response.json
new file mode 100644
index 00000000000..6c267112cea
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-show-defaults-response.json
@@ -0,0 +1,7 @@
+{
+ "quota_set": {
+ "gigabytes": 5,
+ "snapshots": 10,
+ "volumes": 20
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-show-defaults-response.xml b/api-ref/v2/source/samples/quotas-show-defaults-response.xml
new file mode 100644
index 00000000000..b63b30b08f7
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-show-defaults-response.xml
@@ -0,0 +1,6 @@
+
+
+ 5
+ 10
+ 20
+
diff --git a/api-ref/v2/source/samples/quotas-show-response.json b/api-ref/v2/source/samples/quotas-show-response.json
new file mode 100644
index 00000000000..6c267112cea
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-show-response.json
@@ -0,0 +1,7 @@
+{
+ "quota_set": {
+ "gigabytes": 5,
+ "snapshots": 10,
+ "volumes": 20
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-show-response.xml b/api-ref/v2/source/samples/quotas-show-response.xml
new file mode 100644
index 00000000000..b63b30b08f7
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-show-response.xml
@@ -0,0 +1,6 @@
+
+
+ 5
+ 10
+ 20
+
diff --git a/api-ref/v2/source/samples/quotas-update-request.json b/api-ref/v2/source/samples/quotas-update-request.json
new file mode 100644
index 00000000000..9ab32c11ca5
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-update-request.json
@@ -0,0 +1,5 @@
+{
+ "quota_set": {
+ "snapshots": 45
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-update-request.xml b/api-ref/v2/source/samples/quotas-update-request.xml
new file mode 100644
index 00000000000..ccf34efa0ab
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-update-request.xml
@@ -0,0 +1,4 @@
+
+
+ 45
+
diff --git a/api-ref/v2/source/samples/quotas-update-response.json b/api-ref/v2/source/samples/quotas-update-response.json
new file mode 100644
index 00000000000..9ab32c11ca5
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-update-response.json
@@ -0,0 +1,5 @@
+{
+ "quota_set": {
+ "snapshots": 45
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-update-response.xml b/api-ref/v2/source/samples/quotas-update-response.xml
new file mode 100644
index 00000000000..b63b30b08f7
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-update-response.xml
@@ -0,0 +1,6 @@
+
+
+ 5
+ 10
+ 20
+
diff --git a/api-ref/v2/source/samples/quotas-user-show-detailed-response.json b/api-ref/v2/source/samples/quotas-user-show-detailed-response.json
new file mode 100644
index 00000000000..79609eb84a3
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-user-show-detailed-response.json
@@ -0,0 +1,19 @@
+{
+ "quota_set": {
+ "gigabytes": {
+ "in_use": 100,
+ "limit": -1,
+ "reserved": 0
+ },
+ "snapshots": {
+ "in_use": 12,
+ "limit": -1,
+ "reserved": 0
+ },
+ "volumes": {
+ "in_use": 1,
+ "limit": -1,
+ "reserved": 0
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-user-show-response.json b/api-ref/v2/source/samples/quotas-user-show-response.json
new file mode 100644
index 00000000000..6c267112cea
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-user-show-response.json
@@ -0,0 +1,7 @@
+{
+ "quota_set": {
+ "gigabytes": 5,
+ "snapshots": 10,
+ "volumes": 20
+ }
+}
diff --git a/api-ref/v2/source/samples/quotas-user-show-response.xml b/api-ref/v2/source/samples/quotas-user-show-response.xml
new file mode 100644
index 00000000000..b63b30b08f7
--- /dev/null
+++ b/api-ref/v2/source/samples/quotas-user-show-response.xml
@@ -0,0 +1,6 @@
+
+
+ 5
+ 10
+ 20
+
diff --git a/api-ref/v2/source/samples/snapshot-create-request.json b/api-ref/v2/source/samples/snapshot-create-request.json
new file mode 100644
index 00000000000..3c0fe5d888f
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-create-request.json
@@ -0,0 +1,8 @@
+{
+ "snapshot": {
+ "name": "snap-001",
+ "description": "Daily backup",
+ "volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "force": true
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-create-request.xml b/api-ref/v2/source/samples/snapshot-create-request.xml
new file mode 100644
index 00000000000..2b56fde55da
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-create-request.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/api-ref/v2/source/samples/snapshot-create-response.json b/api-ref/v2/source/samples/snapshot-create-response.json
new file mode 100644
index 00000000000..d8901e88dec
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-create-response.json
@@ -0,0 +1,12 @@
+{
+ "snapshot": {
+ "status": "creating",
+ "description": "Daily backup",
+ "created_at": "2013-02-25T03:56:53.081642",
+ "metadata": {},
+ "volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "size": 1,
+ "id": "ffa9bc5e-1172-4021-acaf-cdcd78a9584d",
+ "name": "snap-001"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-create-response.xml b/api-ref/v2/source/samples/snapshot-create-response.xml
new file mode 100644
index 00000000000..1f72e69934c
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-create-response.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/snapshot-metadata-show-response.json b/api-ref/v2/source/samples/snapshot-metadata-show-response.json
new file mode 100644
index 00000000000..cbfe4ef7a8e
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-show-response.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "name": "test"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-metadata-show-response.xml b/api-ref/v2/source/samples/snapshot-metadata-show-response.xml
new file mode 100644
index 00000000000..f62f5b6b9c3
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-show-response.xml
@@ -0,0 +1,4 @@
+
+
+ test
+
diff --git a/api-ref/v2/source/samples/snapshot-metadata-update-request.json b/api-ref/v2/source/samples/snapshot-metadata-update-request.json
new file mode 100644
index 00000000000..4373b0018da
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-update-request.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "key": "v2"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-metadata-update-request.xml b/api-ref/v2/source/samples/snapshot-metadata-update-request.xml
new file mode 100644
index 00000000000..ceeb8f0314b
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-update-request.xml
@@ -0,0 +1,4 @@
+
+
+ v2
+
diff --git a/api-ref/v2/source/samples/snapshot-metadata-update-response.json b/api-ref/v2/source/samples/snapshot-metadata-update-response.json
new file mode 100644
index 00000000000..4373b0018da
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-update-response.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "key": "v2"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-metadata-update-response.xml b/api-ref/v2/source/samples/snapshot-metadata-update-response.xml
new file mode 100644
index 00000000000..6d00cdef115
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-metadata-update-response.xml
@@ -0,0 +1,4 @@
+
+
+ v2
+
diff --git a/api-ref/v2/source/samples/snapshot-show-response.json b/api-ref/v2/source/samples/snapshot-show-response.json
new file mode 100644
index 00000000000..25a8c6c9def
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-show-response.json
@@ -0,0 +1,14 @@
+{
+ "snapshot": {
+ "status": "available",
+ "os-extended-snapshot-attributes:progress": "100%",
+ "description": "Daily backup",
+ "created_at": "2013-02-25T04:13:17.000000",
+ "metadata": {},
+ "volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "os-extended-snapshot-attributes:project_id": "0c2eba2c5af04d3f9e9d0d410b371fde",
+ "size": 1,
+ "id": "2bb856e1-b3d8-4432-a858-09e4ce939389",
+ "name": "snap-001"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-show-response.xml b/api-ref/v2/source/samples/snapshot-show-response.xml
new file mode 100644
index 00000000000..5863aa554f4
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-show-response.xml
@@ -0,0 +1,11 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/snapshot-update-request.json b/api-ref/v2/source/samples/snapshot-update-request.json
new file mode 100644
index 00000000000..0e08957178e
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-update-request.json
@@ -0,0 +1,6 @@
+{
+ "snapshot": {
+ "name": "snap-002",
+ "description": "This is yet, another snapshot."
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-update-request.xml b/api-ref/v2/source/samples/snapshot-update-request.xml
new file mode 100644
index 00000000000..670f6e68231
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-update-request.xml
@@ -0,0 +1,4 @@
+
+
diff --git a/api-ref/v2/source/samples/snapshot-update-response.json b/api-ref/v2/source/samples/snapshot-update-response.json
new file mode 100644
index 00000000000..a2fa2779393
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-update-response.json
@@ -0,0 +1,11 @@
+{
+ "snapshot": {
+ "created_at": "2013-02-20T08:11:34.000000",
+ "description": "This is yet, another snapshot",
+ "name": "snap-002",
+ "id": "4b502fcb-1f26-45f8-9fe5-3b9a0a52eaf2",
+ "size": 1,
+ "status": "available",
+ "volume_id": "2402b902-0b7a-458c-9c07-7435a826f794"
+ }
+}
diff --git a/api-ref/v2/source/samples/snapshot-update-response.xml b/api-ref/v2/source/samples/snapshot-update-response.xml
new file mode 100644
index 00000000000..1d09541c78c
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshot-update-response.xml
@@ -0,0 +1,14 @@
+
+
+
+
diff --git a/api-ref/v2/source/samples/snapshots-list-detailed-response.json b/api-ref/v2/source/samples/snapshots-list-detailed-response.json
new file mode 100644
index 00000000000..463b98ec12d
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshots-list-detailed-response.json
@@ -0,0 +1,18 @@
+{
+ "snapshots": [
+ {
+ "status": "available",
+ "metadata": {
+ "name": "test"
+ },
+ "os-extended-snapshot-attributes:progress": "100%",
+ "name": "test-volume-snapshot",
+ "volume_id": "173f7b48-c4c1-4e70-9acc-086b39073506",
+ "os-extended-snapshot-attributes:project_id": "bab7d5c60cd041a0a36f7c4b6e1dd978",
+ "created_at": "2015-11-29T02:25:51.000000",
+ "size": 1,
+ "id": "b1323cda-8e4b-41c1-afc5-2fc791809c8c",
+ "description": "volume snapshot"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/snapshots-list-detailed-response.xml b/api-ref/v2/source/samples/snapshots-list-detailed-response.xml
new file mode 100644
index 00000000000..2114e0069ca
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshots-list-detailed-response.xml
@@ -0,0 +1,16 @@
+
+
+
+
+ test
+
+
+
diff --git a/api-ref/v2/source/samples/snapshots-list-response.json b/api-ref/v2/source/samples/snapshots-list-response.json
new file mode 100644
index 00000000000..8d7e4973acb
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshots-list-response.json
@@ -0,0 +1,16 @@
+{
+ "snapshots": [
+ {
+ "status": "available",
+ "metadata": {
+ "name": "test"
+ },
+ "name": "test-volume-snapshot",
+ "volume_id": "173f7b48-c4c1-4e70-9acc-086b39073506",
+ "created_at": "2015-11-29T02:25:51.000000",
+ "size": 1,
+ "id": "b1323cda-8e4b-41c1-afc5-2fc791809c8c",
+ "description": "volume snapshot"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/snapshots-list-response.xml b/api-ref/v2/source/samples/snapshots-list-response.xml
new file mode 100644
index 00000000000..654189455fb
--- /dev/null
+++ b/api-ref/v2/source/samples/snapshots-list-response.xml
@@ -0,0 +1,13 @@
+
+
+
+
+ test
+
+
+
diff --git a/api-ref/v2/source/samples/user-quotas-show-response.json b/api-ref/v2/source/samples/user-quotas-show-response.json
new file mode 100644
index 00000000000..239c64d23d4
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-show-response.json
@@ -0,0 +1,17 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "fixed_ips": -1,
+ "floating_ips": 10,
+ "id": "fake_tenant",
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 10,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v2/source/samples/user-quotas-show-response.xml b/api-ref/v2/source/samples/user-quotas-show-response.xml
new file mode 100644
index 00000000000..76a9292c137
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-show-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ -1
+ 10
+ 10240
+ 255
+ 5
+ 10
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v2/source/samples/user-quotas-update-request.json b/api-ref/v2/source/samples/user-quotas-update-request.json
new file mode 100644
index 00000000000..6e5195f9ac8
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-update-request.json
@@ -0,0 +1,6 @@
+{
+ "quota_set": {
+ "force": true,
+ "instances": 9
+ }
+}
diff --git a/api-ref/v2/source/samples/user-quotas-update-request.xml b/api-ref/v2/source/samples/user-quotas-update-request.xml
new file mode 100644
index 00000000000..dd58ed24d0c
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-update-request.xml
@@ -0,0 +1,5 @@
+
+
+ true
+ 9
+
diff --git a/api-ref/v2/source/samples/user-quotas-update-response.json b/api-ref/v2/source/samples/user-quotas-update-response.json
new file mode 100644
index 00000000000..5539332927e
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-update-response.json
@@ -0,0 +1,16 @@
+{
+ "quota_set": {
+ "cores": 20,
+ "floating_ips": 10,
+ "fixed_ips": -1,
+ "injected_file_content_bytes": 10240,
+ "injected_file_path_bytes": 255,
+ "injected_files": 5,
+ "instances": 9,
+ "key_pairs": 100,
+ "metadata_items": 128,
+ "ram": 51200,
+ "security_group_rules": 20,
+ "security_groups": 10
+ }
+}
diff --git a/api-ref/v2/source/samples/user-quotas-update-response.xml b/api-ref/v2/source/samples/user-quotas-update-response.xml
new file mode 100644
index 00000000000..43c36c7da31
--- /dev/null
+++ b/api-ref/v2/source/samples/user-quotas-update-response.xml
@@ -0,0 +1,15 @@
+
+
+ 20
+ 10
+ -1
+ 10240
+ 255
+ 5
+ 9
+ 100
+ 128
+ 51200
+ 20
+ 10
+
diff --git a/api-ref/v2/source/samples/version-show-response.json b/api-ref/v2/source/samples/version-show-response.json
new file mode 100644
index 00000000000..06ba84d077d
--- /dev/null
+++ b/api-ref/v2/source/samples/version-show-response.json
@@ -0,0 +1,33 @@
+{
+ "version": {
+ "status": "CURRENT",
+ "updated": "2012-01-04T11:33:21Z",
+ "media-types": [
+ {
+ "base": "application/xml",
+ "type": "application/vnd.openstack.volume+xml;version=1"
+ },
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v1.0",
+ "links": [
+ {
+ "href": "http://23.253.228.211:8776/v1/",
+ "rel": "self"
+ },
+ {
+ "href": "http://jorgew.github.com/block-storage-api/content/os-block-storage-1.0.pdf",
+ "type": "application/pdf",
+ "rel": "describedby"
+ },
+ {
+ "href": "http://docs.rackspacecloud.com/servers/api/v1.1/application.wadl",
+ "type": "application/vnd.sun.wadl+xml",
+ "rel": "describedby"
+ }
+ ]
+ }
+}
diff --git a/api-ref/v2/source/samples/version-show-response.xml b/api-ref/v2/source/samples/version-show-response.xml
new file mode 100644
index 00000000000..38cecbc616b
--- /dev/null
+++ b/api-ref/v2/source/samples/version-show-response.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api-ref/v2/source/samples/version-v2-show-response.json b/api-ref/v2/source/samples/version-v2-show-response.json
new file mode 100644
index 00000000000..2719a8135a1
--- /dev/null
+++ b/api-ref/v2/source/samples/version-v2-show-response.json
@@ -0,0 +1,44 @@
+{
+ "choices": [
+ {
+ "status": "SUPPORTED",
+ "media-types": [
+ {
+ "base": "application/xml",
+ "type": "application/vnd.openstack.volume+xml;version=1"
+ },
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v1.0",
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v1/v2.json",
+ "rel": "self"
+ }
+ ]
+ },
+ {
+ "status": "CURRENT",
+ "media-types": [
+ {
+ "base": "application/xml",
+ "type": "application/vnd.openstack.volume+xml;version=1"
+ },
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v2.0",
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v2/v2.json",
+ "rel": "self"
+ }
+ ]
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/versions-resp.json b/api-ref/v2/source/samples/versions-resp.json
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/api-ref/v2/source/samples/versions-response.json b/api-ref/v2/source/samples/versions-response.json
new file mode 100644
index 00000000000..d8a0c6a63c7
--- /dev/null
+++ b/api-ref/v2/source/samples/versions-response.json
@@ -0,0 +1,76 @@
+{
+ "versions": [
+ {
+ "status": "DEPRECATED",
+ "updated": "2014-06-28T12:20:21Z",
+ "links": [
+ {
+ "href": "http://docs.openstack.org/",
+ "type": "text/html",
+ "rel": "describedby"
+ },
+ {
+ "href": "http://10.0.2.15:8776/v1/",
+ "rel": "self"
+ }
+ ],
+ "min_version": "",
+ "version": "",
+ "media-types": [
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v1.0"
+ },
+ {
+ "status": "SUPPORTED",
+ "updated": "2014-06-28T12:20:21Z",
+ "links": [
+ {
+ "href": "http://docs.openstack.org/",
+ "type": "text/html",
+ "rel": "describedby"
+ },
+ {
+ "href": "http://10.0.2.15:8776/v2/",
+ "rel": "self"
+ }
+ ],
+ "min_version": "",
+ "version": "",
+ "media-types": [
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v2.0"
+ },
+ {
+ "status": "CURRENT",
+ "updated": "2016-02-08T12:20:21Z",
+ "links": [
+ {
+ "href": "http://docs.openstack.org/",
+ "type": "text/html",
+ "rel": "describedby"
+ },
+ {
+ "href": "http://10.0.2.15:8776/v3/",
+ "rel": "self"
+ }
+ ],
+ "min_version": "3.0",
+ "version": "{Current_Max_Version}",
+ "media-types": [
+ {
+ "base": "application/json",
+ "type": "application/vnd.openstack.volume+json;version=1"
+ }
+ ],
+ "id": "v3.0"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/versions-response.xml b/api-ref/v2/source/samples/versions-response.xml
new file mode 100644
index 00000000000..a09fac7165b
--- /dev/null
+++ b/api-ref/v2/source/samples/versions-response.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api-ref/v2/source/samples/volume-attach-request.json b/api-ref/v2/source/samples/volume-attach-request.json
new file mode 100644
index 00000000000..a779f9fbf71
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-attach-request.json
@@ -0,0 +1,6 @@
+{
+ "os-attach": {
+ "instance_uuid": "95D9EF50-507D-11E5-B970-0800200C9A66",
+ "mountpoint": "/dev/vdc"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-create-request.json b/api-ref/v2/source/samples/volume-create-request.json
new file mode 100644
index 00000000000..38c12d9a779
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-create-request.json
@@ -0,0 +1,16 @@
+{
+ "volume": {
+ "size": 10,
+ "availability_zone": null,
+ "source_volid": null,
+ "description": null,
+ "multiattach ": false,
+ "snapshot_id": null,
+ "name": null,
+ "imageRef": null,
+ "volume_type": null,
+ "metadata": {},
+ "source_replica": null,
+ "consistencygroup_id": null
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-create-request.xml b/api-ref/v2/source/samples/volume-create-request.xml
new file mode 100644
index 00000000000..5b655e92e9f
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-create-request.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/api-ref/v2/source/samples/volume-create-response.json b/api-ref/v2/source/samples/volume-create-response.json
new file mode 100644
index 00000000000..a4f4de88b60
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-create-response.json
@@ -0,0 +1,34 @@
+{
+ "volume": {
+ "status": "creating",
+ "migration_status": null,
+ "user_id": "0eea4eabcf184061a3b6db1e0daaf010",
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v2/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "rel": "self"
+ },
+ {
+ "href": "http://23.253.248.171:8776/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "nova",
+ "bootable": "false",
+ "encrypted": false,
+ "created_at": "2015-11-29T03:01:44.000000",
+ "description": null,
+ "updated_at": null,
+ "volume_type": "lvmdriver-1",
+ "name": "test-volume-attachments",
+ "replication_status": "disabled",
+ "consistencygroup_id": null,
+ "source_volid": null,
+ "snapshot_id": null,
+ "multiattach": false,
+ "metadata": {},
+ "id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "size": 2
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-create-response.xml b/api-ref/v2/source/samples/volume-create-response.xml
new file mode 100644
index 00000000000..9be3c5e3943
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-create-response.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
diff --git a/api-ref/v2/source/samples/volume-extend-request.json b/api-ref/v2/source/samples/volume-extend-request.json
new file mode 100644
index 00000000000..a051cb3cb1c
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-extend-request.json
@@ -0,0 +1,5 @@
+{
+ "os-extend": {
+ "new_size": 3
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-force-detach-request.json b/api-ref/v2/source/samples/volume-force-detach-request.json
new file mode 100644
index 00000000000..277849d8cd6
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-force-detach-request.json
@@ -0,0 +1,8 @@
+{
+ "os-force_detach": {
+ "attachment_id": "d8777f54-84cf-4809-a679-468ffed56cf1",
+ "connector": {
+ "initiator": "iqn.2012-07.org.fake:01"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-image-metadata-set-request.json b/api-ref/v2/source/samples/volume-image-metadata-set-request.json
new file mode 100644
index 00000000000..1f2be3d6efd
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-image-metadata-set-request.json
@@ -0,0 +1,10 @@
+{
+ "os-set_image_metadata": {
+ "metadata": {
+ "image_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
+ "image_name": "image",
+ "kernel_id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
+ "ramdisk_id": "somedisk"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-image-metadata-unset-request.json b/api-ref/v2/source/samples/volume-image-metadata-unset-request.json
new file mode 100644
index 00000000000..49d3295c5ae
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-image-metadata-unset-request.json
@@ -0,0 +1,5 @@
+{
+ "os-unset_image_metadata": {
+ "key": "ramdisk_id"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-manage-request.json b/api-ref/v2/source/samples/volume-manage-request.json
new file mode 100644
index 00000000000..f84e8261dd9
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-manage-request.json
@@ -0,0 +1,18 @@
+{
+ "volume": {
+ "host": "geraint-VirtualBox",
+ "ref": {
+ "source-volume-name": "existingLV",
+ "source-volume-id": "1234"
+ },
+ "name": "New Volume",
+ "availability_zone": "az2",
+ "description": "Volume imported from existingLV",
+ "volume_type": null,
+ "bootable": true,
+ "metadata": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-manage-response.json b/api-ref/v2/source/samples/volume-manage-response.json
new file mode 100644
index 00000000000..343ca66bc71
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-manage-response.json
@@ -0,0 +1,33 @@
+{
+ "volume": {
+ "status": "creating",
+ "user_id": "eae1472b5fc5496998a3d06550929e7e",
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://10.0.2.15:8776/v2/87c8522052ca4eed98bc672b4c1a3ddb/volumes/23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "rel": "self"
+ },
+ {
+ "href": "http://10.0.2.15:8776/87c8522052ca4eed98bc672b4c1a3ddb/volumes/23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "az2",
+ "bootable": "false",
+ "encrypted": "false",
+ "created_at": "2014-07-18T00:12:54.000000",
+ "description": "Volume imported from existingLV",
+ "os-vol-tenant-attr:tenant_id": "87c8522052ca4eed98bc672b4c1a3ddb",
+ "volume_type": null,
+ "name": "New Volume",
+ "source_volid": null,
+ "snapshot_id": null,
+ "metadata": {
+ "key2": "value2",
+ "key1": "value1"
+ },
+ "id": "23cf872b-c781-4cd4-847d-5f2ec8cbd91c",
+ "size": 0
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-create-request.json b/api-ref/v2/source/samples/volume-metadata-create-request.json
new file mode 100644
index 00000000000..1ff9aae2788
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-create-request.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "name": "metadata0"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-create-response.json b/api-ref/v2/source/samples/volume-metadata-create-response.json
new file mode 100644
index 00000000000..1ff9aae2788
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-create-response.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "name": "metadata0"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-show-response.json b/api-ref/v2/source/samples/volume-metadata-show-response.json
new file mode 100644
index 00000000000..5937a866595
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-show-response.json
@@ -0,0 +1,3 @@
+{
+ "metadata": {}
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-show-response.xml b/api-ref/v2/source/samples/volume-metadata-show-response.xml
new file mode 100644
index 00000000000..ba106077a94
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-show-response.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/api-ref/v2/source/samples/volume-metadata-update-request.json b/api-ref/v2/source/samples/volume-metadata-update-request.json
new file mode 100644
index 00000000000..4d96ad8484a
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-update-request.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "name": "metadata1"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-update-request.xml b/api-ref/v2/source/samples/volume-metadata-update-request.xml
new file mode 100644
index 00000000000..ceeb8f0314b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-update-request.xml
@@ -0,0 +1,4 @@
+
+
+ v2
+
diff --git a/api-ref/v2/source/samples/volume-metadata-update-response.json b/api-ref/v2/source/samples/volume-metadata-update-response.json
new file mode 100644
index 00000000000..4d96ad8484a
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-update-response.json
@@ -0,0 +1,5 @@
+{
+ "metadata": {
+ "name": "metadata1"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-metadata-update-response.xml b/api-ref/v2/source/samples/volume-metadata-update-response.xml
new file mode 100644
index 00000000000..6d00cdef115
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-metadata-update-response.xml
@@ -0,0 +1,4 @@
+
+
+ v2
+
diff --git a/api-ref/v2/source/samples/volume-replica-promote-request.json b/api-ref/v2/source/samples/volume-replica-promote-request.json
new file mode 100644
index 00000000000..9ed522325bb
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-replica-promote-request.json
@@ -0,0 +1,3 @@
+{
+ "os-promote-replica": {}
+}
diff --git a/api-ref/v2/source/samples/volume-replica-reenable-request.json b/api-ref/v2/source/samples/volume-replica-reenable-request.json
new file mode 100644
index 00000000000..d622b08ca7b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-replica-reenable-request.json
@@ -0,0 +1,3 @@
+{
+ "os-reenable-replica": {}
+}
diff --git a/api-ref/v2/source/samples/volume-show-response.json b/api-ref/v2/source/samples/volume-show-response.json
new file mode 100644
index 00000000000..f9d73aae8f5
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-show-response.json
@@ -0,0 +1,33 @@
+{
+ "volume": {
+ "status": "available",
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "nova",
+ "bootable": "false",
+ "os-vol-host-attr:host": "ip-10-168-107-25",
+ "source_volid": null,
+ "snapshot_id": null,
+ "id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "description": "Super volume.",
+ "name": "vol-002",
+ "created_at": "2013-02-25T02:40:21.000000",
+ "volume_type": "None",
+ "os-vol-tenant-attr:tenant_id": "0c2eba2c5af04d3f9e9d0d410b371fde",
+ "size": 1,
+ "os-volume-replication:driver_data": null,
+ "os-volume-replication:extended_status": null,
+ "metadata": {
+ "contents": "not junk"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-show-response.xml b/api-ref/v2/source/samples/volume-show-response.xml
new file mode 100644
index 00000000000..17632dfcb80
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-show-response.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ not junk
+
+
diff --git a/api-ref/v2/source/samples/volume-status-reset-request.json b/api-ref/v2/source/samples/volume-status-reset-request.json
new file mode 100644
index 00000000000..506b610190a
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-status-reset-request.json
@@ -0,0 +1,7 @@
+{
+ "os-reset_status": {
+ "status": "available",
+ "attach_status": "detached",
+ "migration_status": "migrating"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfer-accept-request.json b/api-ref/v2/source/samples/volume-transfer-accept-request.json
new file mode 100644
index 00000000000..3399f1e0ca4
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfer-accept-request.json
@@ -0,0 +1,5 @@
+{
+ "accept": {
+ "auth_key": "9266c59563c84664"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfer-accept-response.json b/api-ref/v2/source/samples/volume-transfer-accept-response.json
new file mode 100644
index 00000000000..bee4d4ae2a1
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfer-accept-response.json
@@ -0,0 +1,17 @@
+{
+ "transfer": {
+ "id": "cac5c677-73a9-4288-bb9c-b2ebfb547377",
+ "name": "first volume transfer",
+ "volume_id": "894623a6-e901-4312-aa06-4275e6321cce",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/1",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/1",
+ "rel": "bookmark"
+ }
+ ]
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfer-create-request.json b/api-ref/v2/source/samples/volume-transfer-create-request.json
new file mode 100644
index 00000000000..f517b7498de
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfer-create-request.json
@@ -0,0 +1,6 @@
+{
+ "transfer": {
+ "volume_id": "c86b9af4-151d-4ead-b62c-5fb967af0e37",
+ "name": "first volume"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfer-create-response.json b/api-ref/v2/source/samples/volume-transfer-create-response.json
new file mode 100644
index 00000000000..4a5fb16cae4
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfer-create-response.json
@@ -0,0 +1,19 @@
+{
+ "transfer": {
+ "id": "1a7059f5-8ed7-45b7-8d05-2811e5d09f24",
+ "created_at": "2015-02-25T03:56:53.081642",
+ "name": "first volume",
+ "volume_id": "c86b9af4-151d-4ead-b62c-5fb967af0e37",
+ "auth_key": "9266c59563c84664",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/3",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/3",
+ "rel": "bookmark"
+ }
+ ]
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfer-show-response.json b/api-ref/v2/source/samples/volume-transfer-show-response.json
new file mode 100644
index 00000000000..c73b62cc106
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfer-show-response.json
@@ -0,0 +1,18 @@
+{
+ "transfer": {
+ "id": "cac5c677-73a9-4288-bb9c-b2ebfb547377",
+ "created_at": "2015-02-25T03:56:53.081642",
+ "name": "first volume transfer",
+ "volume_id": "894623a6-e901-4312-aa06-4275e6321cce",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/1",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/1",
+ "rel": "bookmark"
+ }
+ ]
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-transfers-list-detailed-response.json b/api-ref/v2/source/samples/volume-transfers-list-detailed-response.json
new file mode 100644
index 00000000000..9e5d8c0a1b1
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfers-list-detailed-response.json
@@ -0,0 +1,36 @@
+{
+ "transfers": [
+ {
+ "id": "cac5c677-73a9-4288-bb9c-b2ebfb547377",
+ "created_at": "2015-02-25T03:56:53.081642",
+ "name": "first volume transfer",
+ "volume_id": "894623a6-e901-4312-aa06-4275e6321cce",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/1",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/1",
+ "rel": "bookmark"
+ }
+ ]
+ },
+ {
+ "id": "f26c0dee-d20d-4e80-8dee-a8d91b9742a1",
+ "created_at": "2015-03-25T03:56:53.081642",
+ "name": "second volume transfer",
+ "volume_id": "673db275-379f-41af-8371-e1652132b4c1",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/2",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/2",
+ "rel": "bookmark"
+ }
+ ]
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/volume-transfers-list-response.json b/api-ref/v2/source/samples/volume-transfers-list-response.json
new file mode 100644
index 00000000000..02711d1ede4
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-transfers-list-response.json
@@ -0,0 +1,34 @@
+{
+ "transfers": [
+ {
+ "id": "cac5c677-73a9-4288-bb9c-b2ebfb547377",
+ "name": "first volume transfer",
+ "volume_id": "894623a6-e901-4312-aa06-4275e6321cce",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/1",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/1",
+ "rel": "bookmark"
+ }
+ ]
+ },
+ {
+ "id": "f26c0dee-d20d-4e80-8dee-a8d91b9742a1",
+ "name": "second volume transfer",
+ "volume_id": "673db275-379f-41af-8371-e1652132b4c1",
+ "links": [
+ {
+ "href": "http://localhost/v2/firstproject/volumes/2",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost/firstproject/volumes/2",
+ "rel": "bookmark"
+ }
+ ]
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/volume-type-access-add-request.json b/api-ref/v2/source/samples/volume-type-access-add-request.json
new file mode 100644
index 00000000000..b7481edbbf3
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-access-add-request.json
@@ -0,0 +1,5 @@
+{
+ "addProjectAccess": {
+ "project": "f270b245cb11498ca4031deb7e141cfa"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-access-add-request.xml b/api-ref/v2/source/samples/volume-type-access-add-request.xml
new file mode 100644
index 00000000000..fdf06a0c2c1
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-access-add-request.xml
@@ -0,0 +1,4 @@
+
+
+ "f270b245cb11498ca4031deb7e141cfa"
+
diff --git a/api-ref/v2/source/samples/volume-type-access-delete-request.json b/api-ref/v2/source/samples/volume-type-access-delete-request.json
new file mode 100644
index 00000000000..144997bfcc0
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-access-delete-request.json
@@ -0,0 +1,5 @@
+{
+ "removeProjectAccess": {
+ "project": "f270b245cb11498ca4031deb7e141cfa"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-access-delete-request.xml b/api-ref/v2/source/samples/volume-type-access-delete-request.xml
new file mode 100644
index 00000000000..dcde1b2e4e7
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-access-delete-request.xml
@@ -0,0 +1,4 @@
+
+
+ "f270b245cb11498ca4031deb7e141cfa"
+
diff --git a/api-ref/v2/source/samples/volume-type-access-list-response.json b/api-ref/v2/source/samples/volume-type-access-list-response.json
new file mode 100644
index 00000000000..afcffb0810b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-access-list-response.json
@@ -0,0 +1,6 @@
+{
+ "volume_type_access": {
+ "volume_type_id": "3c67e124-39ad-4ace-a507-8bb7bf510c26",
+ "project_id": "f270b245cb11498ca4031deb7e141cfa"
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-create-request.json b/api-ref/v2/source/samples/volume-type-create-request.json
new file mode 100644
index 00000000000..13d86bfdf5b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-create-request.json
@@ -0,0 +1,10 @@
+{
+ "volume_type": {
+ "name": "vol-type-001",
+ "description": "volume type 0001",
+ "os-volume-type-access:is_public": true,
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-create-request.xml b/api-ref/v2/source/samples/volume-type-create-request.xml
new file mode 100644
index 00000000000..817e446d768
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-create-request.xml
@@ -0,0 +1,6 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v2/source/samples/volume-type-show-request.json b/api-ref/v2/source/samples/volume-type-show-request.json
new file mode 100644
index 00000000000..a91f2e94d63
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-show-request.json
@@ -0,0 +1,9 @@
+{
+ "volume_type": {
+ "id": "289da7f8-6440-407c-9fb4-7db01ec49164",
+ "name": "vol-type-001",
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-show-request.xml b/api-ref/v2/source/samples/volume-type-show-request.xml
new file mode 100644
index 00000000000..1c4291d08f1
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-show-request.xml
@@ -0,0 +1,8 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v2/source/samples/volume-type-show-response.json b/api-ref/v2/source/samples/volume-type-show-response.json
new file mode 100644
index 00000000000..7a0420f201a
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-show-response.json
@@ -0,0 +1,11 @@
+{
+ "volume_type": {
+ "id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
+ "name": "vol-type-001",
+ "description": "volume type 001",
+ "is_public": "true",
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-show-response.xml b/api-ref/v2/source/samples/volume-type-show-response.xml
new file mode 100644
index 00000000000..f5935c74a1b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-show-response.xml
@@ -0,0 +1,9 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v2/source/samples/volume-type-update-request.json b/api-ref/v2/source/samples/volume-type-update-request.json
new file mode 100644
index 00000000000..8bdc5befb3b
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-update-request.json
@@ -0,0 +1,10 @@
+{
+ "volume_type": {
+ "name": "vol-type-001",
+ "description": "volume type 0001",
+ "is_public": true,
+ "extra_specs": {
+ "capabilities": "gpu"
+ }
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-type-update-request.xml b/api-ref/v2/source/samples/volume-type-update-request.xml
new file mode 100644
index 00000000000..dddddf66920
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-type-update-request.xml
@@ -0,0 +1,6 @@
+
+
+
+ gpu
+
+
diff --git a/api-ref/v2/source/samples/volume-types-list-response.json b/api-ref/v2/source/samples/volume-types-list-response.json
new file mode 100644
index 00000000000..1d72f923e23
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-types-list-response.json
@@ -0,0 +1,16 @@
+{
+ "volume_types": [
+ {
+ "extra_specs": {
+ "capabilities": "gpu"
+ },
+ "id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
+ "name": "SSD"
+ },
+ {
+ "extra_specs": {},
+ "id": "8eb69a46-df97-4e41-9586-9a40a7533803",
+ "name": "SATA"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/volume-types-list-response.xml b/api-ref/v2/source/samples/volume-types-list-response.xml
new file mode 100644
index 00000000000..e227787da51
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-types-list-response.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ gpu
+
+
+
+
diff --git a/api-ref/v2/source/samples/volume-unmanage-request.json b/api-ref/v2/source/samples/volume-unmanage-request.json
new file mode 100644
index 00000000000..a75950bb9e0
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-unmanage-request.json
@@ -0,0 +1,3 @@
+{
+ "os-unmanage": {}
+}
diff --git a/api-ref/v2/source/samples/volume-update-request.json b/api-ref/v2/source/samples/volume-update-request.json
new file mode 100644
index 00000000000..8e52dacb6d4
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-update-request.json
@@ -0,0 +1,6 @@
+{
+ "volume": {
+ "name": "vol-003",
+ "description": "This is yet, another volume."
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-update-request.xml b/api-ref/v2/source/samples/volume-update-request.xml
new file mode 100644
index 00000000000..d03ed193032
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-update-request.xml
@@ -0,0 +1,4 @@
+
+
diff --git a/api-ref/v2/source/samples/volume-update-response.json b/api-ref/v2/source/samples/volume-update-response.json
new file mode 100644
index 00000000000..f87bcd2ce4f
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-update-response.json
@@ -0,0 +1,36 @@
+{
+ "volume": {
+ "status": "available",
+ "migration_status": null,
+ "user_id": "0eea4eabcf184061a3b6db1e0daaf010",
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "nova",
+ "bootable": "false",
+ "encrypted": false,
+ "created_at": "2015-11-29T03:01:44.000000",
+ "description": "This is yet, another volume.",
+ "updated_at": null,
+ "volume_type": "lvmdriver-1",
+ "name": "vol-003",
+ "replication_status": "disabled",
+ "consistencygroup_id": null,
+ "source_volid": null,
+ "snapshot_id": null,
+ "multiattach": false,
+ "metadata": {
+ "contents": "not junk"
+ },
+ "id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "size": 1
+ }
+}
diff --git a/api-ref/v2/source/samples/volume-update-response.xml b/api-ref/v2/source/samples/volume-update-response.xml
new file mode 100644
index 00000000000..0524361acba
--- /dev/null
+++ b/api-ref/v2/source/samples/volume-update-response.xml
@@ -0,0 +1,13 @@
+
+
+
+
+ not junk
+
+
diff --git a/api-ref/v2/source/samples/volumes-list-detailed-response.json b/api-ref/v2/source/samples/volumes-list-detailed-response.json
new file mode 100644
index 00000000000..e91029c14da
--- /dev/null
+++ b/api-ref/v2/source/samples/volumes-list-detailed-response.json
@@ -0,0 +1,102 @@
+{
+ "volumes": [
+ {
+ "migration_status": null,
+ "attachments": [
+ {
+ "server_id": "f4fda93b-06e0-4743-8117-bc8bcecd651b",
+ "attachment_id": "3b4db356-253d-4fab-bfa0-e3626c0b8405",
+ "host_name": null,
+ "volume_id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "device": "/dev/vdb",
+ "id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38"
+ }
+ ],
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v2/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "rel": "self"
+ },
+ {
+ "href": "http://23.253.248.171:8776/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "nova",
+ "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1",
+ "encrypted": false,
+ "os-volume-replication:extended_status": null,
+ "replication_status": "disabled",
+ "snapshot_id": null,
+ "id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38",
+ "size": 2,
+ "user_id": "32779452fcd34ae1a53a797ac8a1e064",
+ "os-vol-tenant-attr:tenant_id": "bab7d5c60cd041a0a36f7c4b6e1dd978",
+ "os-vol-mig-status-attr:migstat": null,
+ "metadata": {
+ "readonly": false,
+ "attached_mode": "rw"
+ },
+ "status": "in-use",
+ "description": null,
+ "multiattach": true,
+ "os-volume-replication:driver_data": null,
+ "source_volid": null,
+ "consistencygroup_id": null,
+ "os-vol-mig-status-attr:name_id": null,
+ "name": "test-volume-attachments",
+ "bootable": "false",
+ "created_at": "2015-11-29T03:01:44.000000",
+ "volume_type": "lvmdriver-1"
+ },
+ {
+ "migration_status": null,
+ "attachments": [],
+ "links": [
+ {
+ "href": "http://23.253.248.171:8776/v2/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/173f7b48-c4c1-4e70-9acc-086b39073506",
+ "rel": "self"
+ },
+ {
+ "href": "http://23.253.248.171:8776/bab7d5c60cd041a0a36f7c4b6e1dd978/volumes/173f7b48-c4c1-4e70-9acc-086b39073506",
+ "rel": "bookmark"
+ }
+ ],
+ "availability_zone": "nova",
+ "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1",
+ "encrypted": false,
+ "os-volume-replication:extended_status": null,
+ "replication_status": "disabled",
+ "snapshot_id": null,
+ "id": "173f7b48-c4c1-4e70-9acc-086b39073506",
+ "size": 1,
+ "user_id": "32779452fcd34ae1a53a797ac8a1e064",
+ "os-vol-tenant-attr:tenant_id": "bab7d5c60cd041a0a36f7c4b6e1dd978",
+ "os-vol-mig-status-attr:migstat": null,
+ "metadata": {},
+ "status": "available",
+ "volume_image_metadata": {
+ "kernel_id": "8a55f5f1-78f7-4477-8168-977d8519342c",
+ "checksum": "eb9139e4942121f22bbc2afc0400b2a4",
+ "min_ram": "0",
+ "ramdisk_id": "5f6bdf8a-92db-4988-865b-60bdd808d9ef",
+ "disk_format": "ami",
+ "image_name": "cirros-0.3.4-x86_64-uec",
+ "image_id": "b48c53e1-9a96-4a5a-a630-2e74ec54ddcc",
+ "container_format": "ami",
+ "min_disk": "0",
+ "size": "25165824"
+ },
+ "description": "",
+ "multiattach": false,
+ "os-volume-replication:driver_data": null,
+ "source_volid": null,
+ "consistencygroup_id": null,
+ "os-vol-mig-status-attr:name_id": null,
+ "name": "test-volume",
+ "bootable": "true",
+ "created_at": "2015-11-29T02:25:18.000000",
+ "volume_type": "lvmdriver-1"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/volumes-list-detailed-response.xml b/api-ref/v2/source/samples/volumes-list-detailed-response.xml
new file mode 100644
index 00000000000..36bbffd0ab8
--- /dev/null
+++ b/api-ref/v2/source/samples/volumes-list-detailed-response.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+ junk
+
+
+
+
+
+ not junk
+
+
+
diff --git a/api-ref/v2/source/samples/volumes-list-response.json b/api-ref/v2/source/samples/volumes-list-response.json
new file mode 100644
index 00000000000..b3c7cc05164
--- /dev/null
+++ b/api-ref/v2/source/samples/volumes-list-response.json
@@ -0,0 +1,32 @@
+{
+ "volumes": [
+ {
+ "id": "45baf976-c20a-4894-a7c3-c94b7376bf55",
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/45baf976-c20a-4894-a7c3-c94b7376bf55",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/45baf976-c20a-4894-a7c3-c94b7376bf55",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "vol-004"
+ },
+ {
+ "id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "links": [
+ {
+ "href": "http://localhost:8776/v2/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "self"
+ },
+ {
+ "href": "http://localhost:8776/0c2eba2c5af04d3f9e9d0d410b371fde/volumes/5aa119a8-d25b-45a7-8d1b-88e127885635",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "vol-003"
+ }
+ ]
+}
diff --git a/api-ref/v2/source/samples/volumes-list-response.xml b/api-ref/v2/source/samples/volumes-list-response.xml
new file mode 100644
index 00000000000..024608615ad
--- /dev/null
+++ b/api-ref/v2/source/samples/volumes-list-response.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api-ref/v2/source/volume-manage.inc b/api-ref/v2/source/volume-manage.inc
new file mode 100644
index 00000000000..42151651b15
--- /dev/null
+++ b/api-ref/v2/source/volume-manage.inc
@@ -0,0 +1,50 @@
+.. -*- rst -*-
+
+==========================================
+Volume manage extension (os-volume-manage)
+==========================================
+
+Creates volumes by using existing storage instead of allocating new
+storage.
+
+
+Manage existing volume
+======================
+
+.. rest_method:: POST /v2/{tenant_id}/os-volume-manage
+
+Creates a Block Storage volume by using existing storage rather than allocating new storage.
+
+The caller must specify a reference to an existing storage volume
+in the ref parameter in the request. Although each storage driver
+might interpret this reference differently, the driver should
+accept a reference structure that contains either a source-volume-
+id or source-volume-name element, if possible.
+
+The API chooses the size of the volume by rounding up the size of
+the existing storage volume to the next gibibyte (GiB).
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - description: description
+ - availability_zone: availability_zone
+ - bootable: bootable
+ - volume_type: volume_type
+ - name: name
+ - volume: volume
+ - host: host
+ - ref: ref
+ - metadata: metadata
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-manage-request.json
+ :language: javascript
diff --git a/api-ref/v2/source/volume-type-access.inc b/api-ref/v2/source/volume-type-access.inc
new file mode 100644
index 00000000000..b92b5e790fa
--- /dev/null
+++ b/api-ref/v2/source/volume-type-access.inc
@@ -0,0 +1,103 @@
+.. -*- rst -*-
+
+============================
+Volume type access (volumes)
+============================
+
+Private volume type access to project.
+
+By default, volumes types are public. To create a private volume
+type, set the ``is_public`` boolean field to ``false`` at volume
+type creation time. To control access to a private volume type,
+user needs to add a project to or remove a project from the volume
+type. Private volume types without projects are only accessible by
+users with the administrative role and context.
+
+
+Add private volume type access
+==============================
+
+.. rest_method:: POST /v2/{tenant_id}/types/{volume_type}/action
+
+Adds private volume type access to a project.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - project: project
+ - tenant_id: tenant_id
+ - volume_type: volume_type
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-access-add-request.json
+ :language: javascript
+
+
+Remove private volume type access
+=================================
+
+.. rest_method:: POST /v2/{tenant_id}/types/{volume_type}/action
+
+Removes private volume type access from a project.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - project: project
+ - tenant_id: tenant_id
+ - volume_type: volume_type
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-access-delete-request.json
+ :language: javascript
+
+
+List private volume type access details
+=======================================
+
+.. rest_method:: GET /v2/{tenant_id}/types/{volume_type}/os-volume-type-access
+
+Lists project IDs that have access to private volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_type: volume_type
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - project_id: project_id
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-access-list-response.json
+ :language: javascript
diff --git a/api-ref/v2/source/volumes-v2-extensions.inc b/api-ref/v2/source/volumes-v2-extensions.inc
new file mode 100644
index 00000000000..6d647d79f5c
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-extensions.inc
@@ -0,0 +1,52 @@
+.. -*- rst -*-
+
+===========================
+API extensions (extensions)
+===========================
+
+
+
+
+List API extensions
+===================
+
+.. rest_method:: GET /v2/{tenant_id}/extensions
+
+Lists Block Storage API extensions.
+
+
+Normal response codes: 200
+Error response codes:300,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - updated: updated
+ - description: description
+ - links: links
+ - namespace: namespace
+ - alias: alias
+ - name: name
+
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/extensions-list-response.json
+ :language: javascript
+
+
+
diff --git a/api-ref/v2/source/volumes-v2-snapshots.inc b/api-ref/v2/source/volumes-v2-snapshots.inc
new file mode 100644
index 00000000000..099394c7fe8
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-snapshots.inc
@@ -0,0 +1,359 @@
+.. -*- rst -*-
+
+============================
+Volume snapshots (snapshots)
+============================
+
+A snapshot is a point-in-time copy of the data that a volume
+contains.
+
+When you create, list, or delete snapshots, these status values are
+possible:
+
+**Snapshot statuses**
+
++----------------+-------------------------------------+
+| Status | Description |
++----------------+-------------------------------------+
+| creating | The snapshot is being created. |
++----------------+-------------------------------------+
+| available | The snapshot is ready to use. |
++----------------+-------------------------------------+
+| deleting | The snapshot is being deleted. |
++----------------+-------------------------------------+
+| error | A snapshot creation error occurred. |
++----------------+-------------------------------------+
+| error_deleting | A snapshot deletion error occurred. |
++----------------+-------------------------------------+
+
+
+List snapshots with details
+===========================
+
+.. rest_method:: GET /v2/{tenant_id}/snapshots/detail
+
+Lists all Block Storage snapshots, with details, that the tenant can access.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - os-extended-snapshot-attributes:progress: os-extended-snapshot-attributes:progress
+ - description: description
+ - created_at: created_at
+ - name: name
+ - volume_id: volume_id
+ - os-extended-snapshot-attributes:project_id: os-extended-snapshot-attributes:project_id
+ - size: size
+ - id: id
+ - metadata: metadata
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshots-list-detailed-response.json
+ :language: javascript
+
+
+Create snapshot
+===============
+
+.. rest_method:: POST /v2/{tenant_id}/snapshots
+
+Creates a volume snapshot, which is a point-in-time, complete copy of a volume. You can create a volume from a snapshot.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - snapshot: snapshot
+ - volume_id: volume_id
+ - force: force
+ - description: description
+ - name: name
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/snapshot-create-request.json
+ :language: javascript
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - name: name
+ - snapshot: snapshot
+ - volume_id: volume_id
+ - metadata: metadata
+ - id: id
+ - size: size
+
+
+List snapshots
+==============
+
+.. rest_method:: GET /v2/{tenant_id}/snapshots
+
+Lists all Block Storage snapshots, with summary information, that the tenant can access.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - name: name
+ - volume_id: volume_id
+ - metadata: metadata
+ - id: id
+ - size: size
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshots-list-response.json
+ :language: javascript
+
+
+Show snapshot metadata
+======================
+
+.. rest_method:: GET /v2/{tenant_id}/snapshots/{snapshot_id}/metadata
+
+Shows metadata for a snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - os-extended-snapshot-attributes:progress: os-extended-snapshot-attributes:progress
+ - description: description
+ - created_at: created_at
+ - name: name
+ - snapshot: snapshot
+ - volume_id: volume_id
+ - os-extended-snapshot-attributes:project_id: os-extended-snapshot-attributes:project_id
+ - size: size
+ - id: id
+ - metadata: metadata
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-metadata-show-response.json
+ :language: javascript
+
+
+Update snapshot metadata
+========================
+
+.. rest_method:: PUT /v2/{tenant_id}/snapshots/{snapshot_id}/metadata
+
+Updates metadata for a snapshot.
+
+Replaces metadata items that match keys. Does not modify items that
+are not in the request.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/snapshot-metadata-update-request.json
+ :language: javascript
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-metadata-update-response.json
+ :language: javascript
+
+
+Show snapshot details
+=====================
+
+.. rest_method:: GET /v2/{tenant_id}/snapshots/{snapshot_id}
+
+Shows details for a snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - os-extended-snapshot-attributes:progress: os-extended-snapshot-attributes:progress
+ - description: description
+ - created_at: created_at
+ - name: name
+ - snapshot: snapshot
+ - volume_id: volume_id
+ - os-extended-snapshot-attributes:project_id: os-extended-snapshot-attributes:project_id
+ - size: size
+ - id: id
+ - metadata: metadata
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-show-response.json
+ :language: javascript
+
+
+Update snapshot
+===============
+
+.. rest_method:: PUT /v2/{tenant_id}/snapshots/{snapshot_id}
+
+Updates a snapshot.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - snapshot: snapshot
+ - description: description
+ - name: name
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/snapshot-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - description: description
+ - created_at: created_at
+ - name: name
+ - snapshot: snapshot
+ - volume_id: volume_id
+ - metadata: metadata
+ - id: id
+ - size: size
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/snapshot-update-response.json
+ :language: javascript
+
+
+Delete snapshot
+===============
+
+.. rest_method:: DELETE /v2/{tenant_id}/snapshots/{snapshot_id}
+
+Deletes a snapshot.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - snapshot_id: snapshot_id
diff --git a/api-ref/v2/source/volumes-v2-types.inc b/api-ref/v2/source/volumes-v2-types.inc
new file mode 100644
index 00000000000..8a0d97d48d5
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-types.inc
@@ -0,0 +1,273 @@
+.. -*- rst -*-
+
+====================
+Volume types (types)
+====================
+
+
+Update volume type
+==================
+
+.. rest_method:: PUT /v2/{tenant_id}/types/{volume_type_id}
+
+Updates a volume type.
+
+To create an environment with multiple-storage back ends, you must
+specify a volume type. The API spawns Block Storage volume back
+ends as children to ``cinder-volume``, and keys them from a unique
+queue. The API names the back ends ``cinder-volume.HOST.BACKEND``.
+For example, ``cinder-volume.ubuntu.lvmdriver``. When you create a
+volume, the scheduler chooses an appropriate back end for the
+volume type to handle the request.
+
+For information about how to use volume types to create multiple-
+storage back ends, see `Configure multiple-storage back ends
+`_.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_type: volume_type
+ - volume_type_id: volume_type_id
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - is_public: is_public
+ - extra_specs: extra_specs
+ - description: description
+ - volume_type: volume_type
+ - name: name
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Update extra specs for a volume type
+====================================
+
+.. rest_method:: PUT /v2/{tenant_id}/types/{volume_type_id}
+
+Updates the extra specifications that are assigned to a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - extra_specs: extra_specs
+ - volume_type: volume_type
+ - volume_type_id: volume_type_id
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - is_public: is_public
+ - extra_specs: extra_specs
+ - description: description
+ - volume_type: volume_type
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Show volume type details
+========================
+
+.. rest_method:: GET /v2/{tenant_id}/types/{volume_type_id}
+
+Shows details for a volume type.
+
+
+Normal response codes: 200
+Error response codes:
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_type_id: volume_type_id
+ - tenant_id: tenant_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - is_public: is_public
+ - extra_specs: extra_specs
+ - description: description
+ - volume_type: volume_type
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
+
+Delete volume type
+==================
+
+.. rest_method:: DELETE /v2/{tenant_id}/types/{volume_type_id}
+
+Deletes a volume type.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_type_id: volume_type_id
+ - tenant_id: tenant_id
+
+
+List volume types
+=================
+
+.. rest_method:: GET /v2/{tenant_id}/types
+
+Lists volume types.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort_key: sort_key
+ - sort_dir: sort_dir
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_types: volume_types
+ - extra_specs: extra_specs
+ - name: name
+ - volume_type: volume_type
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-types-list-response.json
+ :language: javascript
+
+
+Create volume type
+==================
+
+.. rest_method:: POST /v2/{tenant_id}/types
+
+Creates a volume type.
+
+To create an environment with multiple-storage back ends, you must
+specify a volume type. Block Storage volume back ends are spawned
+as children to ``cinder-volume``, and they are keyed from a unique
+queue. They are named ``cinder-volume.HOST.BACKEND``. For example,
+``cinder-volume.ubuntu.lvmdriver``. When a volume is created, the
+scheduler chooses an appropriate back end to handle the request
+based on the volume type.
+
+For information about how to use volume types to create multiple-
+storage back ends, see `Configure multiple-storage back ends
+`_.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume_type: volume_type
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-type-create-request.json
+ :language: javascript
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - is_public: is_public
+ - extra_specs: extra_specs
+ - description: description
+ - volume_type: volume_type
+ - name: name
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-type-show-response.json
+ :language: javascript
+
diff --git a/api-ref/v2/source/volumes-v2-versions.inc b/api-ref/v2/source/volumes-v2-versions.inc
new file mode 100644
index 00000000000..9f8ba539123
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-versions.inc
@@ -0,0 +1,67 @@
+.. -*- rst -*-
+
+============
+API versions
+============
+
+
+
+
+List API versions
+=================
+
+.. rest_method:: GET /
+
+Lists information for all Block Storage API versions.
+
+
+Normal response codes: 200
+Error response codes:300,
+
+
+Request
+-------
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/versions-response.json
+ :language: javascript
+
+
+
+
+Show API v2 details
+===================
+
+.. rest_method:: GET /v2
+
+Shows details for Block Storage API v2.
+
+
+Normal response codes: 200
+Error response codes:203,
+
+
+Request
+-------
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - location: location
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/version-v2-show-response.json
+ :language: javascript
+
+
diff --git a/api-ref/v2/source/volumes-v2-volumes-actions.inc b/api-ref/v2/source/volumes-v2-volumes-actions.inc
new file mode 100644
index 00000000000..f0b25ae8258
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-volumes-actions.inc
@@ -0,0 +1,333 @@
+.. -*- rst -*-
+
+================================
+Volume actions (volumes, action)
+================================
+
+Extends the size of, resets statuses for, sets image metadata for,
+and removes image metadata from a volume. Attaches a volume to a
+server, detaches a volume from a server, and removes a volume from
+Block Storage management without actually removing the back-end
+storage object associated with it.
+
+
+Extend volume size
+==================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Extends the size of a volume to a requested size, in gibibytes (GiB). Specify the ``os-extend`` action in the request body.
+
+Preconditions
+
+- Volume status must be ``available``.
+
+- Sufficient amount of storage must exist to extend the volume.
+
+- The user quota must have sufficient volume storage.
+
+Troubleshooting
+
+- An ``error_extending`` volume status indicates that the request
+ failed. Ensure that you meet the preconditions and retry the
+ request. If the request fails again, investigate the storage back
+ end.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-extend: os-extend
+ - new_size: new_size
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-extend-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Reset volume statuses
+=====================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Resets the status, attach status, and migration status for a volume. Specify the ``os-reset_status`` action in the request body.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - status: status
+ - migration_status: migration_status
+ - os-reset_status: os-reset_status
+ - attach_status: attach_status
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-status-reset-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Set image metadata for volume
+=============================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Sets the image metadata for a volume. Specify the ``os-set_image_metadata`` action in the request body.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-set_image_metadata: os-set_image_metadata
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-image-metadata-set-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Remove image metadata from volume
+=================================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Removes image metadata, by key, from a volume. Specify the ``os-unset_image_metadata`` action in the request body and the ``key`` for the metadata key and value pair that you want to remove.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-unset_image_metadata: os-unset_image_metadata
+ - key: key
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-image-metadata-unset-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Attach volume to server
+=======================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Attaches a volume to a server. Specify the ``os-attach`` action in the request body.
+
+Preconditions
+
+- Volume status must be ``available``.
+
+- You should set ``instance_uuid`` or ``host_name``.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - instance_uuid: instance_uuid
+ - mountpoint: mountpoint
+ - host_name: host_name
+ - os-attach: os-attach
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-attach-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Unmanage volume
+===============
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Removes a volume from Block Storage management without removing the back-end storage object that is associated with it. Specify the ``os-unmanage`` action in the request body.
+
+Preconditions
+
+- Volume status must be ``available``.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-unmanage: os-unmanage
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-unmanage-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Force detach volume
+===================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Forces a volume to detach. Specify the ``os-force_detach`` action in the request body.
+
+Rolls back an unsuccessful detach operation after you disconnect
+the volume.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - connector: connector
+ - attachment_id: attachment_id
+ - os-force_detach: os-force_detach
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-force-detach-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Promote replicated volume
+=========================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Promotes a replicated volume. Specify the ``os-promote-replica`` action in the request body.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-promote-replica: os-promote-replica
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-replica-promote-request.json
+ :language: javascript
+
+
+
+
+
+
+
+Reenable volume replication
+===========================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
+
+Re-enables replication of a volume. Specify the ``volume-replica-reenable`` action in the request body.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - os-reenable-replica: os-reenable-replica
+ - size: size
+ - os-volume-replication:driver_data: os-volume-replication:driver_data
+ - os-volume-replication:extended_status: os-volume-replication:extended_status
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-replica-reenable-request.json
+ :language: javascript
+
+
+
+
+
+
diff --git a/api-ref/v2/source/volumes-v2-volumes.inc b/api-ref/v2/source/volumes-v2-volumes.inc
new file mode 100644
index 00000000000..cb8da961d1c
--- /dev/null
+++ b/api-ref/v2/source/volumes-v2-volumes.inc
@@ -0,0 +1,570 @@
+.. -*- rst -*-
+
+=================
+Volumes (volumes)
+=================
+
+A volume is a detachable block storage device similar to a USB hard
+drive. You can attach a volume to one instance at a time.
+
+The ``snapshot_id`` and ``source_volid`` parameters specify the ID
+of the snapshot or volume from which this volume originates. If the
+volume was not created from a snapshot or source volume, these
+values are null.
+
+When you create, list, update, or delete volumes, the possible
+status values are:
+
+**Volume statuses**
+
++------------------+--------------------------------------------------------+
+| Status | Description |
++------------------+--------------------------------------------------------+
+| creating | The volume is being created. |
++------------------+--------------------------------------------------------+
+| available | The volume is ready to attach to an instance. |
++------------------+--------------------------------------------------------+
+| attaching | The volume is attaching to an instance. |
++------------------+--------------------------------------------------------+
+| in-use | The volume is attached to an instance. |
++------------------+--------------------------------------------------------+
+| deleting | The volume is being deleted. |
++------------------+--------------------------------------------------------+
+| error | A volume creation error occurred. |
++------------------+--------------------------------------------------------+
+| error_deleting | A volume deletion error occurred. |
++------------------+--------------------------------------------------------+
+| backing-up | The volume is being backed up. |
++------------------+--------------------------------------------------------+
+| restoring-backup | A backup is being restored to the volume. |
++------------------+--------------------------------------------------------+
+| error_restoring | A backup restoration error occurred. |
++------------------+--------------------------------------------------------+
+| error_extending | An error occurred while attempting to extend a volume. |
++------------------+--------------------------------------------------------+
+
+
+List volumes with details
+=========================
+
+.. rest_method:: GET /v2/{tenant_id}/volumes/detail
+
+Lists all Block Storage volumes, with details, that the tenant can access.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort: sort
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - os-vol-host-attr:host: os-vol-host-attr:host
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - os-volume-replication:extended_status: os-volume-replication:extended_status
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - os-vol-tenant-attr:tenant_id: os-vol-tenant-attr:tenant_id
+ - os-vol-mig-status-attr:migstat: os-vol-mig-status-attr:migstat
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - consistencygroup_id: consistencygroup_id
+ - os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - os-volume-replication:driver_data: os-volume-replication:driver_data
+ - volumes: volumes
+ - volume_type: volume_type
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volumes-list-detailed-response.json
+ :language: javascript
+
+
+
+
+Create volume
+=============
+
+.. rest_method:: POST /v2/{tenant_id}/volumes
+
+Creates a volume.
+
+To create a bootable volume, include the UUID of the image from
+which you want to create the volume in the ``imageRef`` attribute
+in the request body.
+
+Preconditions
+
+- You must have enough volume storage quota remaining to create a
+ volume of size requested.
+
+Asynchronous Postconditions
+
+- With correct permissions, you can see the volume status as
+ ``available`` through API calls.
+
+- With correct access, you can see the created volume in the storage
+ system that OpenStack Block Storage manages.
+
+Troubleshooting
+
+- If volume status remains ``creating`` or shows another error
+ status, the request failed. Ensure you meet the preconditions
+ then investigate the storage back end.
+
+- Volume is not created in the storage system that OpenStack Block
+ Storage manages.
+
+- The storage node needs enough free storage space to match the size
+ of the volume creation request.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - size: size
+ - description: description
+ - imageRef: imageRef
+ - multiattach: multiattach
+ - availability_zone: availability_zone
+ - source_volid: source_volid
+ - name: name
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - volume_type: volume_type
+ - snapshot_id: snapshot_id
+ - scheduler_hints: scheduler_hints
+ - source_replica: source_replica
+ - metadata: metadata
+ - tenant_id: tenant_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-create-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - volume_type: volume_type
+
+
+
+
+
+List volumes
+============
+
+.. rest_method:: GET /v2/{tenant_id}/volumes
+
+Lists summary information for all Block Storage volumes that the tenant can access.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - sort: sort
+ - limit: limit
+ - marker: marker
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - volumes: volumes
+ - id: id
+ - links: links
+ - name: name
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volumes-list-response.json
+ :language: javascript
+
+
+
+
+Show volume details
+===================
+
+.. rest_method:: GET /v2/{tenant_id}/volumes/{volume_id}
+
+Shows details for a volume.
+
+Preconditions
+
+- The volume must exist.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - os-vol-host-attr:host: os-vol-host-attr:host
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - os-volume-replication:extended_status: os-volume-replication:extended_status
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - os-vol-tenant-attr:tenant_id: os-vol-tenant-attr:tenant_id
+ - os-vol-mig-status-attr:migstat: os-vol-mig-status-attr:migstat
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - os-volume-replication:driver_data: os-volume-replication:driver_data
+ - volume_type: volume_type
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-show-response.json
+ :language: javascript
+
+
+
+
+Update volume
+=============
+
+.. rest_method:: PUT /v2/{tenant_id}/volumes/{volume_id}
+
+Updates a volume.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - volume: volume
+ - description: description
+ - name: name
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - migration_status: migration_status
+ - attachments: attachments
+ - links: links
+ - availability_zone: availability_zone
+ - encrypted: encrypted
+ - updated_at: updated_at
+ - replication_status: replication_status
+ - snapshot_id: snapshot_id
+ - id: id
+ - size: size
+ - user_id: user_id
+ - metadata: metadata
+ - status: status
+ - description: description
+ - multiattach: multiattach
+ - source_volid: source_volid
+ - volume: volume
+ - consistencygroup_id: consistencygroup_id
+ - name: name
+ - bootable: bootable
+ - created_at: created_at
+ - volume_type: volume_type
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-update-response.json
+ :language: javascript
+
+
+
+
+Delete volume
+=============
+
+.. rest_method:: DELETE /v2/{tenant_id}/volumes/{volume_id}
+
+Deletes a volume.
+
+Preconditions
+
+- Volume status must be ``available``, ``in-use``, ``error``, or
+ ``error_restoring``.
+
+- You cannot already have a snapshot of the volume.
+
+- You cannot delete a volume that is in a migration.
+
+Asynchronous Postconditions
+
+- The volume is deleted in volume index.
+
+- The volume managed by OpenStack Block Storage is deleted in
+ storage node.
+
+Troubleshooting
+
+- If volume status remains in ``deleting`` or becomes
+ ``error_deleting`` the request failed. Ensure you meet the
+ preconditions then investigate the storage back end.
+
+- The volume managed by OpenStack Block Storage is not deleted from
+ the storage system.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+
+
+
+
+
+Create volume metadata
+======================
+
+.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/metadata
+
+Creates metadata for a volume.
+
+Error response codes:202,
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-metadata-create-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+
+
+
+
+
+Show volume metadata
+====================
+
+.. rest_method:: GET /v2/{tenant_id}/volumes/{volume_id}/metadata
+
+Shows metadata for a volume.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-metadata-show-response.json
+ :language: javascript
+
+
+
+
+Update volume metadata
+======================
+
+.. rest_method:: PUT /v2/{tenant_id}/volumes/{volume_id}/metadata
+
+Updates metadata for a volume.
+
+Replaces metadata items that match keys. Does not modify items that
+are not in the request.
+
+
+Normal response codes: 200
+Error response codes:
+
+
+Request
+-------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+ - tenant_id: tenant_id
+ - volume_id: volume_id
+
+Request Example
+---------------
+
+.. literalinclude:: ./samples/volume-metadata-update-request.json
+ :language: javascript
+
+
+
+Response Parameters
+-------------------
+
+.. rest_parameters:: parameters.yaml
+
+ - metadata: metadata
+
+
+
+Response Example
+----------------
+
+.. literalinclude:: ./samples/volume-metadata-update-response.json
+ :language: javascript
diff --git a/tox.ini b/tox.ini
index 326a1a5f633..b65b018c864 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,6 +25,15 @@ commands = ostestr {posargs}
whitelist_externals = bash
passenv = *_proxy *_PROXY
+[testenv:api-ref]
+# (sheel)This environment is called from CI scripts to test and publish
+# the API Ref to developer.openstack.org.
+install_command = pip install -U --force-reinstall {opts} {packages}
+commands =
+ rm -rf cinder/api-ref/build
+ sphinx-build -W -b html -d api-ref/build/doctrees/v1 api-ref/v1/source api-ref/build/html/v1
+ sphinx-build -W -b html -d api-ref/build/doctrees/v2 api-ref/v2/source api-ref/build/html/v2
+
[testenv:releasenotes]
# NOTE(jaegerandi): This target does not use constraints because
# upstream infra does not yet support it. Once that's fixed, we can