api
Photographer

Documentation

1. Get Photographer Categories

Endpoint:

GET https://api.i-as.dev/api/photographer/category

Response:

Returns a list of available photographer categories.

[
  {
    "slug": "string",
    "categoryName": "string"
  }
  // More data
]

2. Get Photographer Category Details

Endpoint:

GET https://api.i-as.dev/api/photographer/category/:slugCategory

Parameters:

  • slugCategory: The slug of the photographer category (e.g., portrait, landscape).

Response:

{
  "slug": "string",
  "categoryName": "string",
  "description": "string"
}

3. Get Photographer Countries

Endpoint:

GET https://api.i-as.dev/api/photographer/country

Response:

Returns a list of available countries where photographers are based.

[
  {
    "slug": "string",
    "countryName": "string"
  }
  // More data
]

4. Get Photographer Country Details

Endpoint:

GET https://api.i-as.dev/api/photographer/country/:slugCountry

Parameters:

  • slugCountry: The slug of the country (e.g., usa, germany).

Response:

{
  "slug": "string",
  "countryName": "string",
  "description": "string"
}

5. Get Photographer Provinces

Endpoint:

GET https://api.i-as.dev/api/photographer/province

Response:

Returns a list of provinces within a country.

[
  {
    "slug": "string",
    "provinceName": "string"
  }
  // More data
]

6. Get Photographer Province Details

Endpoint:

GET https://api.i-as.dev/api/photographer/province/:slugProvince

Parameters:

  • slugProvince: The slug of the province (e.g., california, bavaria).

Response:

{
  "slug": "string",
  "provinceName": "string",
  "description": "string"
}

7. Get Photographer Camera List

Endpoint:

GET https://api.i-as.dev/api/photographer/camera

Response:

Returns a list of available cameras for photographers.

[
  {
    "slug": "string",
    "cameraName": "string"
  }
  // More data
]

8. Get Photographer Camera Details

Endpoint:

GET https://api.i-as.dev/api/photographer/camera/:slugCamera

Parameters:

  • slugCamera: The slug of the camera (e.g., nikon-d750, canon-eos-5d).

Response:

{
  "slug": "string",
  "cameraName": "string",
  "description": "string"
}

9. Get Photographer Lens List

Endpoint:

GET https://api.i-as.dev/api/photographer/lens

Response:

Returns a list of available lenses for photographers.

[
  {
    "slug": "string",
    "lensName": "string"
  }
  // More data
]

10. Get Photographer Lens Details

Endpoint:

GET https://api.i-as.dev/api/photographer/lens/:slugLens

Parameters:

  • slugLens: The slug of the lens (e.g., sigma-35mm, canon-24-70mm).

Response:

{
  "slug": "string",
  "lensName": "string",
  "description": "string"
}

11. Get Latest Photographer Content

Endpoint:

GET https://api.i-as.dev/api/photographer/latest

Response:

Returns the latest content from photographers.

[
  {
    "slug": "string",
    "title": "string",
    "author": "string",
    "image": "url-img",
    "date": "string"
  }
  // More data
]

12. Get Photographer Content Details

Endpoint:

GET https://api.i-as.dev/api/photographer/detail/:slug

Parameters:

  • slug: The slug of the content (e.g., photographer-title-1).

Response:

{
  "title": "string",
  "author": "string",
  "image": "url-img",
  "content": "string",
  "date": "string"
}

Advanced Parameters for Pagination

  • page: To specify the page number for pagination (e.g., page=1).

Example Usage

Get Categories:

GET https://api.i-as.dev/api/photographer/category

Get Category Details:

GET https://api.i-as.dev/api/photographer/category/portrait

Get Country List:

GET https://api.i-as.dev/api/photographer/country

Get Country Details:

GET https://api.i-as.dev/api/photographer/country/usa

Get Camera List:

GET https://api.i-as.dev/api/photographer/camera

Get Camera Details:

GET https://api.i-as.dev/api/photographer/camera/nikon-d750

Get Latest Content:

GET https://api.i-as.dev/api/photographer/latest

Get Content Details:

GET https://api.i-as.dev/api/photographer/detail/photographer-title-1