Home > Cloud Cruiser 3 > REST API reference > Publishing usage data > Text using PUT

Text using PUT

Publishes text content via PUT. The text data is appended to a file underneath the < working_dir >/usage_files directory, in a directory specified by the feedPath URL path parameter. The file is created if it does not exist. The filename is named based on the current date and follows the pattern yyyyMMdd-PUT.txt . As an example, If the URL example below was invoked on March 15, 2013 the file would be < CC_Usage_Directory >/myfeeds/feed1/20130315-PUT.txt .

URL syntax

http://<ccServerURL
>/rest/v1/usage/myfeeds/<feedPath
>

HTTP method

PUT

Request

Content-Type
text/plain
Request body

The text to be published.

Example URL

http://<ccServerURL
>/rest/v1/usage/myfeeds/feed1
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP