Các dự án

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
Danh sách

API endpoint:

GET
http://seo.mathtasy.com/api/v1/projects

Request example:

curl --location --request GET 'http://seo.mathtasy.com/api/v1/projects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Tham số
Loại
Mô tả
search
tùy chọn string
Truy vấn tìm kiếm.
search_by
tùy chọn string
Search by. Possible values are: project cho Tên. Defaults to: project.
sort_by
tùy chọn string
Sắp xếp theo. Possible values are: created_at cho Ngày tạo, project cho Tên. Defaults to: created_at.
sort
tùy chọn string
Sắp xếp. Possible values are: desc cho Tăng, asc cho Giảm. Defaults to: desc.
per_page
tùy chọn int
Số kết quả mỗi trang. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Xóa

API endpoint:

DELETE
http://seo.mathtasy.com/api/v1/projects/{project}

Request example:

curl --location --request DELETE 'http://seo.mathtasy.com/api/v1/projects/{project}' \
--header 'Authorization: Bearer {api_key}'