אישור העלאה בינארית של תמונה
אשרו מתאר העלאה שהוכן ל־mediaImport עם הבתים המקוריים של קובץ JPEG, PNG או WebP (עד 3,145,728 בתים). אורך התוכן בבתים וערך SHA-256 חייבים להתאים למתאר. להפניות לקבצים או לקבצים מקומיים גדולים יותר, השתמשו בכלי המדיה המתועדים ובתהליך העבודה להעלאה מסוג multipart ב־SDK.
/api/v1/media/importAuthorizationאסימון Bearer · headerחובהמפתח API של Influence עם הרשאות מוגדרות, או אסימון גישה נתמך של OAuth. אל תכללו פרטי גישה בכתובות URL או בקלט לכלי.
X-Publish-ConfirmationConfirmationCapabilityחובהערך confirmationCapability המדויק שהוחזר מ־prepare. שלחו אותו רק בכותרת הזאת, עם אותו קלט, לפני expiresAt.
Idempotency-KeyIdempotencyKeyחובהמזהה לניסיון חוזר שנוצר בצד הלקוח. לאחר תגובה לא ודאית, שמרו על אותו מפתח, אותו ערך אישור ואותו קלט.
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חובה