Releases: a-know/Pixela
v1.32.2
v1.32.1
[English]
The following two APIs now support the transparent=true query parameter.
This allows you to make the background of a graph transparent.
[Japanese]
以下の2つのAPIにて、 transparent=true クエリパラメータを新たにサポートしました。
これを指定すると、グラフの背景を透明にできます。
v1.32.0
[English]
Added new API endpoint /v1/users/<username>/graphs/<graphID>/today.
Using this API, you can retrieve the Pixel corresponding to the requested date. You can also control whether or not a 404 error will occur if the corresponding Pixel is unregistered.
See the API documentation for details.
[Japanese]
新しいAPIエンドポイント /v1/users/<username>/graphs/<graphID>/today を追加しました。
リクエストした日に対応する Pixel を取得できます。また、該当のPixelが未登録の場合に 404 エラーとするかどうかをコントロールすることも可能です。
詳細は API ドキュメントを参照してください。
v1.31.0
[English]
Added a new property startOnMonday that can be specified for Graph.
The default value for this property is false; specify true if you want the graph to start on Monday.
See the API documentation for details.
[Japanese]
Graph に指定可能な新しいプロパティ startOnMonday を追加しました。
このプロパティの既定値は false で、そのグラフを月曜始まりにしたい場合には true を指定します。
詳細は API ドキュメントを参照してください。
v1.30.0
[English]
GET - /v1/users/<username>/graphs/<graphID> API has supported 2 new options.
lessThan,greaterThan- This option is used to draw only pixels that are less than or greater than the value specified by this parameter.
- These two params cannot be specified at the same time.
- In the future, we are considering making it possible to specify also
GET - /v1/users/<username>/graphs/<graphID>.htmlAPI, but this is not supported at this time.
For more details. please see Pixela API docs.
[Japanese]
GET - /v1/users/<username>/graphs/<graphID> APIが、新たに2つのオプションをサポートしました。
lessThanとgreaterThan- このパラメータで指定した値以下、もしくは値以上の Pixel のみを描画するためのオプションです。
- これら2つのパラメータは同時に指定することはできません。
- 将来的には、これらのパラメータを
GET - /v1/users/<username>/graphs/<graphID>.htmlでも利用可能にすることを検討していますが、現時点では対応していません。
詳細はAPIドキュメントを参照してください。
v1.29.0
[English]
New API endpoint have been added!
GET /v1/users/<username>/graphs/<graphID>/latest- This API can be used to retrieve the latest pixel from among the pixels registered in the graph specified by
<graphID>. - Pixel with date that is later than the date of this API request will not be retrieved by this API.
- This API can be used to retrieve the latest pixel from among the pixels registered in the graph specified by
[Japanese]
新しい API エンドポイントを追加しました。
GET /v1/users/<username>/graphs/<graphID>/latest- この API を使うことで、
<graphID>で指定したグラフに登録されている Pixel のうち、最新の Pixel を取得できます。 - このAPIをリクエストした日よりも未来の日付の Pixel はこのAPIでは取得できません。
- この API を使うことで、
v1.28.0
[English]
New API endpoint have been added!
POST /v1/users/<username>/graphs/<graphID>/pixels- This API allows you to register multiple
Pixelswith a single request. - This API is only available for Pixela Supporter.
- For more details, please see: POST /v1/users/<username>/graphs/<graphID>/pixels
- This API allows you to register multiple
[Japanese]
新しい API エンドポイントを追加しました。
POST /v1/users/<username>/graphs/<graphID>/pixels- この API を使うことで、一度のリクエストで複数の
Pixelを登録することができます。 - この API は Pixela Supporter のみ利用可能です。
- API の詳細に関しては POST /v1/users/<username>/graphs/<graphID>/pixels を参照してください。
- この API を使うことで、一度のリクエストで複数の
v1.27.1
v1.27.0
🎉
[in English]
Extended the fields that can be retrieved with the /stats API.
The following three types of fields have been extended this time:
maxDate- The date when the
maxQuantityreturned by the/statsAPI was actually recorded is set to this field. - Its format is
yyyy-MM-dd. - If there is more than one applicable date, it is undefined which of them will be set.
- The date when the
minDate- The date when the
minQuantityreturned by the/statsAPI was actually recorded is set to this field. - Its format is
yyyy-MM-dd. - If there is more than one applicable date, it is undefined which of them will be set.
- The date when the
yesterdayQuantity- The value recorded in the graph on the day before the day of the
/statsAPI request is set to this field.
- The value recorded in the graph on the day before the day of the
[in Japanese]
/stats API で取得できる項目を拡張しました。
今回拡張した項目は、以下の3種類です。
maxDate/statsAPI が返却するmaxQuantityが実際に記録された日付がセットされます。- その形式は
yyyy-MM-ddです。 - 該当する日付が複数ある場合、どの日付がセットされるかについては未定義です。
minDate/statsAPI が返却するminQuantityが実際に記録された日付がセットされます。- その形式は
yyyy-MM-ddです。 - 該当する日付が複数ある場合、どの日付がセットされるかについては未定義です。
yesterdayQuantity/statsAPI をリクエストしている日の前日の、そのグラフに記録されている値がセットされます。
v1.26.1
[in English]
New webhook type added.
For more information on the details of this release, please see here.
[in Japanese]
新たな Webhook type を追加しました。
その詳細な内容については、こちらをご確認ください。

