Kimlik doğrulama

Kullanıcı fotoğrafı

Kullanıcının fotoğrafı (image/jpeg). Adresteki ?v= sürümüyle 30 gün önbelleğe alınabilir; ETag + If-None-Match → 304. Fotoğraf yoksa 404. Adres /me, /profile, kullanıcı satırları (photo) ve yorumlar (author_photo) ile gelir.

GET/api/v1/users/{id}/photo

Yetkilendirme

Authorizationheaderzorunlu
Bearer belirteci: API anahtarı (sk_…), OAuth erişim belirteci (mcp_…) ya da mobil oturum (xk_…).
Kapsam: crm.read

Yol parametreleri

idintegerzorunlu
Kullanıcı kimliği.

Hatalar

HTTPerrorAnlamı
404not_foundKayıt bulunamadı.
İstek
curl https://ornek.solk.app/api/v1/users/{id}/photo \
  -H "Authorization: Bearer $SOLK_API_KEY"
Yanıt