top of page

Kiwire 3.0 API Documentation - Ads

 

CREATE

Use POST method to create new subordinate resources.

Example request URIs

[POST] https://{{kiwire_ip}}/api/ads/ Parameters Required

API 27.png

PATCH

Use PATCH method is to make a partial update on a resource. 

The differences between PATCH and PUT, PUT method also modify a resource entity but PATCH method is used for partially updating an existing resource. PUT should be used if you are entirety replacing a resource.

Example request URIs

[PATCH] https://{{kiwire_ip}}/api/ads/{{id}}/ Parameters Required

API 28.png

DELETE

Use DELETE method as the name applies to delete resources.

Example request URIs

[DELETE] https://{{kiwire_ip}}/api/ads/{{id}}/

GET

Use GET method to retrieve resource information only and not to modify it in any way.

Example request URIs

[GET] https://{{kiwire_ip}}/api/ads/ [GET] https://{{kiwire_ip}}/api/ads/{{id}}/ [GET] https://{{kiwire_ip}}/api/ads/{{offset}}/{{limit}}/{{column}}/{{order}}/

API 29.png

Kiwire 3.0 API Documentation      >        Ads  

Kiwire 3.0 API Documentation

Kiwire 3.0 API - Ads

 

CREATE

Use POST method to create new subordinate resources.
 

Example request URIs

[POST] https://{{kiwire_ip}}/api/ads/ Parameters Required

PATCH

Use PATCH method is to make a partial update on a resource. 

 

The differences between PATCH and PUT, PUT method also modify a resource entity but PATCH method is used for partially updating an existing resource. PUT should be used if you are entirety replacing a resource.

 

Example request URIs

 

[PATCH] https://{{kiwire_ip}}/api/admin/{{id}}/ Parameters Required

DELETE
 

Use DELETE method as the name applies to delete resources.
 

Example request URIs

[DELETE] https://{{kiwire_ip}}/api/ads/{{id}}/
 

GET

Use GET method to retrieve resource information only and not to modify it in any way.
 

Example request URIs

[GET] https://{{kiwire_ip}}/api/ads/ [GET] https://{{kiwire_ip}}/api/ads/{{id}}/ [GET] https://{{kiwire_ip}}/api/ads/{{offset}}/{{limit}}/{{column}}/{{order}}/

NOTE:
 

For GET method, if {{offset}}, {{limit}}, {{column}}, and {{order}} not provided then Kiwire will return default value eg : https://{{kiwire_ip}}/api/ads/0/10/id/desc/

bottom of page