- Dev notes
- soil-pest-resource-controller
- volunteer-controller
- volunteer-activity-controller
- resource-exchange-controller
- plot-controller
- local-partner-controller
- knowledge-resource-controller
- crop-plan-controller
- community-garden-controller
- user-controller
- role-controller
- weather-controller
- auth-controller
Update a knowledge resource
PUT
/api/admin/{id}/localPartners
local-partner-controller
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
integer <int64>
required
Body Params application/json
name
string
optional
service
string
optional
email
string
optional
Example
{
"name": "string",
"service": "string",
"email": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/admin//localPartners' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"service": "string",
"email": "string"
}'
Responses
🟢200Knowledge resource updated successfully
application/json
Body
title
string
optional
content
string
optional
Example
{
"title": "string",
"content": "string"
}
🟠400Invalid input data
🟠404Knowledge resource not found
🔴500Internal server error
Modified at 2024-06-11 16:24:49