تأكيد رفع صورة كبيانات ثنائية
أكد واصف الرفع mediaImport الذي سبق تحضيره، مع إرسال البايتات الأصلية لملف JPEG أو PNG أو WebP (بحد أقصى 3,145,728 بايت). يجب أن يطابق طول البيانات بالبايت وقيمة SHA-256 ما في الواصف. لمراجع الملفات أو الملفات المحلية الأكبر، استخدم أدوات الوسائط الموثقة وسير العمل للرفع متعدد الأجزاء في SDK.
/api/v1/media/importAuthorizationرمز Bearer · headerمطلوبمفتاح API من Influence بصلاحيات محددة، أو رمز وصول OAuth مدعوم. لا تدرج بيانات الاعتماد في عناوين URL أو مدخلات الأدوات.
X-Publish-ConfirmationConfirmationCapabilityمطلوبقيمة confirmationCapability نفسها التي أعادتها prepare. أرسلها في هذه الترويسة فقط، مع المدخلات نفسها، قبل expiresAt.
Idempotency-KeyIdempotencyKeyمطلوبمعرف لإعادة المحاولة ينشئه المستدعي. احتفظ بهذا المفتاح وقيمة confirmationCapability والمدخلات بعد أي استجابة غير مؤكدة.
X-Publish-Uploadstringمطلوبالقيمة encodeURIComponent(JSON.stringify(upload)) من مدخلات mediaImport المحضرة. يتبع الكائن بعد فك الترميز البنية BinaryUploadDescriptor؛ ويبلغ الحد الأقصى للترويسة المرمزة 4,096 محرفا.
application/octet-streamstring<binary>نتيجة الوسائط؛ راجع ok وحالة عنصر الوسائط.
okbooleanمطلوبoutputJsonValue | nullمطلوبعرض الخصائصإخفاء الخصائص
stringnumberbooleannullobjecttoolNamestringمطلوبadAuditQuoteadAuditStartadAuditGetadAuditListsearchfetchprofileGetconnectionStatusGetaccountListcampaignGetcampaignListcampaignDraftSavemediaListmediaImportmediaUploadCreatemediaUploadPartmediaUploadCompletemediaUploadGetmediaUploadAbortmediaGetcampaignReviewcampaignReviewGetcampaignReviewExecutecampaignScheduleBatchReviewcampaignScheduleBatchExecutescheduleListbrandContextGetinsightsAccountListinsightsPostListinsightsRefreshcampaignPlanGetcampaignPlanGenerateimageGenerationQuoteimageGenerationStartimageGenerationListintegrationListgroupListintegrationSchemadevtoOrganizationListdevtoTagListdiscordChannelListdiscourseCategoryListdiscourseTagListdiscourseTopicSearchdribbbleTeamListghostAuthorListghostNewsletterListghostTagListghostTierListhashnodePublicationListlemmyCommunitySearchlistmonkListsGetlistmonkTemplateListmattermostChannelListmeweGroupListpinterestBoardListredditSubredditRequirementsGetredditSubredditSearchslackChannelListteamsChannelListtiktokCreatorInfoGetvkDestinationListwhopCompanyListwhopExperienceListwordpressCategoryListwordpressPostTypeListwordpressTagListwrapcastChannelSearchintegrationSchedulePostToolpostsListToolpostSettingsToolerrorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبAI_SCHEDULING_LIMIT_REACHEDAI_SCHEDULING_UNAVAILABLEINVALID_INPUTFORBIDDENNOT_FOUNDCONFLICTFEATURE_DISABLEDCONFIRMATION_REQUIREDCONFIRMATION_INVALIDUPSTREAM_FAILEDNEEDS_REVIEWINTERNALmessagestringمطلوبretryablebooleanمطلوبokbooleanمطلوبtoolNamestringمطلوبadAuditQuoteadAuditStartadAuditGetadAuditListsearchfetchprofileGetconnectionStatusGetaccountListcampaignGetcampaignListcampaignDraftSavemediaListmediaImportmediaUploadCreatemediaUploadPartmediaUploadCompletemediaUploadGetmediaUploadAbortmediaGetcampaignReviewcampaignReviewGetcampaignReviewExecutecampaignScheduleBatchReviewcampaignScheduleBatchExecutescheduleListbrandContextGetinsightsAccountListinsightsPostListinsightsRefreshcampaignPlanGetcampaignPlanGenerateimageGenerationQuoteimageGenerationStartimageGenerationListintegrationListgroupListintegrationSchemadevtoOrganizationListdevtoTagListdiscordChannelListdiscourseCategoryListdiscourseTagListdiscourseTopicSearchdribbbleTeamListghostAuthorListghostNewsletterListghostTagListghostTierListhashnodePublicationListlemmyCommunitySearchlistmonkListsGetlistmonkTemplateListmattermostChannelListmeweGroupListpinterestBoardListredditSubredditRequirementsGetredditSubredditSearchslackChannelListteamsChannelListtiktokCreatorInfoGetvkDestinationListwhopCompanyListwhopExperienceListwordpressCategoryListwordpressPostTypeListwordpressTagListwrapcastChannelSearchintegrationSchedulePostToolpostsListToolpostSettingsToolالطلب غير صالح. معاملات الاستعلام غير مقبولة. قد ترد أخطاء التحقق الخاصة بالأداة ضمن استجابة خطأ للأداة.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوبerrorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبAI_SCHEDULING_LIMIT_REACHEDAI_SCHEDULING_UNAVAILABLEINVALID_INPUTFORBIDDENNOT_FOUNDCONFLICTFEATURE_DISABLEDCONFIRMATION_REQUIREDCONFIRMATION_INVALIDUPSTREAM_FAILEDNEEDS_REVIEWINTERNALmessagestringمطلوبretryablebooleanمطلوبokbooleanمطلوبtoolNamestringمطلوبadAuditQuoteadAuditStartadAuditGetadAuditListsearchfetchprofileGetconnectionStatusGetaccountListcampaignGetcampaignListcampaignDraftSavemediaListmediaImportmediaUploadCreatemediaUploadPartmediaUploadCompletemediaUploadGetmediaUploadAbortmediaGetcampaignReviewcampaignReviewGetcampaignReviewExecutecampaignScheduleBatchReviewcampaignScheduleBatchExecutescheduleListbrandContextGetinsightsAccountListinsightsPostListinsightsRefreshcampaignPlanGetcampaignPlanGenerateimageGenerationQuoteimageGenerationStartimageGenerationListintegrationListgroupListintegrationSchemadevtoOrganizationListdevtoTagListdiscordChannelListdiscourseCategoryListdiscourseTagListdiscourseTopicSearchdribbbleTeamListghostAuthorListghostNewsletterListghostTagListghostTierListhashnodePublicationListlemmyCommunitySearchlistmonkListsGetlistmonkTemplateListmattermostChannelListmeweGroupListpinterestBoardListredditSubredditRequirementsGetredditSubredditSearchslackChannelListteamsChannelListtiktokCreatorInfoGetvkDestinationListwhopCompanyListwhopExperienceListwordpressCategoryListwordpressPostTypeListwordpressTagListwrapcastChannelSearchintegrationSchedulePostToolpostsListToolpostSettingsToolبيانات اعتماد Bearer غير موجودة أو غير صالحة أو منتهية الصلاحية.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوببيانات الاعتماد لا تتضمن الصلاحيات المطلوبة.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوبواجهة API المخصصة للبرامج أو الأداة المطلوبة غير متاحة.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوبيتجاوز الطلب الحد الأقصى للبايتات.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبAI_SCHEDULING_LIMIT_REACHEDAI_SCHEDULING_UNAVAILABLEINVALID_INPUTFORBIDDENNOT_FOUNDCONFLICTFEATURE_DISABLEDCONFIRMATION_REQUIREDCONFIRMATION_INVALIDUPSTREAM_FAILEDNEEDS_REVIEWINTERNALmessagestringمطلوبretryablebooleanمطلوبokbooleanمطلوبtoolNamestringمطلوبadAuditQuoteadAuditStartadAuditGetadAuditListsearchfetchprofileGetconnectionStatusGetaccountListcampaignGetcampaignListcampaignDraftSavemediaListmediaImportmediaUploadCreatemediaUploadPartmediaUploadCompletemediaUploadGetmediaUploadAbortmediaGetcampaignReviewcampaignReviewGetcampaignReviewExecutecampaignScheduleBatchReviewcampaignScheduleBatchExecutescheduleListbrandContextGetinsightsAccountListinsightsPostListinsightsRefreshcampaignPlanGetcampaignPlanGenerateimageGenerationQuoteimageGenerationStartimageGenerationListintegrationListgroupListintegrationSchemadevtoOrganizationListdevtoTagListdiscordChannelListdiscourseCategoryListdiscourseTagListdiscourseTopicSearchdribbbleTeamListghostAuthorListghostNewsletterListghostTagListghostTierListhashnodePublicationListlemmyCommunitySearchlistmonkListsGetlistmonkTemplateListmattermostChannelListmeweGroupListpinterestBoardListredditSubredditRequirementsGetredditSubredditSearchslackChannelListteamsChannelListtiktokCreatorInfoGetvkDestinationListwhopCompanyListwhopExperienceListwordpressCategoryListwordpressPostTypeListwordpressTagListwrapcastChannelSearchintegrationSchedulePostToolpostsListToolpostSettingsToolجرى تجاوز حد معدل الطلبات. يمكن إعادة المحاولة بعد هذا الخطأ.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوبواجهة API أو خدمة التنفيذ التي تعتمد عليها غير متاحة.
errorobjectمطلوبعرض الخصائصإخفاء الخصائص
codestringمطلوبmessagestringمطلوبretryablebooleanمطلوب