Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

"period=range" parameter #803

Open
@JLuc

Description

@JLuc

https://developer.matomo.org/api-reference/reporting-api documents 'period' and 'date' API argument :

  • forperiod=range it states an example: « to request a report for the range Jan 1st to Feb 15th you would writeperiod=range&date=2011-01-01,2011-02-15 »
  • date documentation includes this :
Note: if you set 'period=range' to request data for a custom date range, the API will return the sum of data for the specified date range. When 'period=range', the following keywords are supported for the parameter 'date':- lastX- previousX- YYYY-MM-DD,YYYY-MM-DD, both dates can be replaced with magic keywords (the first one does not support today and yesterday). eg. YYYY-MM-DD,today, lastMonth,YYYY-MM-DD or lastYear,lastWeek

But whendate islast10, is it 10 days ? weeks ? months ? years ?

Documentation should mention what parameter holds 'day', 'week', 'month' or 'year' whenperiod isrange.

It could bedate=last10 is not possible whenperiod=range, and in such a case documentation should be fixed also.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp