Create photo
documentedUpload a new photo (multipart/form-data).
POST /xn/rest/{network}/1.0/PhotoPhotosno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://external.ningapis.com/xn/rest/{{$network}}/1.0/Photo?xn_pretty=true&fields=image.url,title,description" \
-X POST \
-H "Authorization: OAuth oauth_signature_method=\"PLAINTEXT\",oauth_consumer_key=\"{{NING_API_KEY}}\",oauth_token=\"{{OAUTH2_ACCESS_TOKEN}}\",oauth_signature=\"{{NING_SECRET}}\"" \
-H "Accept: application/json" \
-F "title={{$title}}" \
-F "description={{$description}}" \
-F "file=@{{$image_path}}"