Removed mentions of base64.

This commit is contained in:
tastytea 2019-04-27 21:48:15 +02:00
parent a766ff001c
commit 892a05e9fb
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 7 additions and 11 deletions

View File

@ -75,9 +75,8 @@ namespace Easy
const string avatar() const; const string avatar() const;
/*! /*!
* @brief Sets avatar * @brief Sets avatar to file.
* *
* Filename or base64-encoded
* *
* @since 0.18.5 * @since 0.18.5
*/ */
@ -154,9 +153,7 @@ namespace Easy
const string header() const; const string header() const;
/*! /*!
* @brief Sets header image * @brief Sets header image to file.
*
* Filename or base64-encoded.
* *
* @since 0.18.5 * @since 0.18.5
*/ */

View File

@ -54,9 +54,8 @@ namespace Mastodon
/*! /*!
* @brief Interface to the Mastodon API. * @brief Interface to the Mastodon API.
* *
* All input is expected to be UTF-8. Binary data must be * All input is expected to be UTF-8. Binary data must be a
* base64-encoded or a filename. * filename.
* It appears that media attachements can not be base64 encoded.
* *
* @section error Error codes * @section error Error codes
* | Code | Explanation | * | Code | Explanation |
@ -553,7 +552,7 @@ namespace Mastodon
/*! /*!
* @brief Make a PATCH request. * @brief Make a PATCH request.
* *
* Binary data must be base64-encoded or a filename. * Binary data must be a filename.
* *
* @param call A call defined in Mastodon::API::v1 * @param call A call defined in Mastodon::API::v1
* @param parameters A Mastodon::parametermap containing * @param parameters A Mastodon::parametermap containing
@ -576,7 +575,7 @@ namespace Mastodon
/*! /*!
* @brief Make a POST request which requires parameters. * @brief Make a POST request which requires parameters.
* *
* Binary data must be base64-encoded or a filename. * Binary data must be a filename.
* *
* @param call A call defined in Mastodon::API::v1 * @param call A call defined in Mastodon::API::v1
* @param parameters A Mastodon::parametermap containing * @param parameters A Mastodon::parametermap containing
@ -590,7 +589,7 @@ namespace Mastodon
/*! /*!
* @brief Make a custom POST request. * @brief Make a custom POST request.
* *
* Binary data must be base64-encoded or a filename. * Binary data must be a filename.
* *
* @param call String in the form `/api/v1/example` * @param call String in the form `/api/v1/example`
* @param parameters A Mastodon::parametermap containing * @param parameters A Mastodon::parametermap containing