# credentials_orgs_users_images_create API View for managing uploaded images for credentials. This endpoint allows uploading new images and retrieving existing images for use with credentials (icons, backgrounds, thumbnails, etc.). Path Parameters: org (str): The organization/tenant identifier user_id (str): The user ID making the request Query Parameters: query (str, required for GET): Search term to filter images by name Methods: GET: Retrieve images matching a search query POST: Upload a new image POST Request Body: Multipart form data containing: - image (file, required): The image file to upload - name (str, optional): A descriptive name for the image Returns: GET: A JSON array of image objects: [ { "id": 123, "name": "Logo", "image": "https://example.com/media/uploaded_images/logo.png" }, { "id": 124, "name": "Background", "image": "https://example.com/media/uploaded_images/background.jpg" }, ... ] POST: A JSON object containing the uploaded image details: { "id": 125, "name": "Certificate Icon", "image": "https://example.com/media/uploaded_images/certificate-icon.png" } Error Responses: 400 Bad Request: If the request data is invalid or missing required parameters 401 Unauthorized: If the user is not authenticated 403 Forbidden: If the user does not have permission to access this resource 500 Internal Server Error: If an unexpected error occurs Access Control: - Requires IsAdminUserOrStudentDRFMixin - Only authenticated users with appropriate permissions can upload and retrieve images Endpoint: POST /api/credentials/orgs/{org}/users/{user_id}/images/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Request fields (application/json): - `name` (string,null) ## Response 200 fields (application/json): - `id` (integer, required) - `name` (string,null) - `image` (string, required)