@adaptive-ds/n8n-nodes-publer 1.1.7 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,18 @@
1
1
  {
2
- "openapi": "3.0.0",
2
+ "openapi": "3.1.1",
3
3
  "info": {
4
4
  "title": "Publer API",
5
- "description": "Welcome to the **Publer API** collection!\n\nThis API enables developers, agencies, and marketing teams to automate social media workflows, integrate advanced scheduling tools, and manage multiple brands at scale—all from your own applications.\n\n---\n\n## What is the Publer API?\n\nThe Publer API is a modern, RESTful JSON interface designed for seamless social media automation. It lets you programmatically access and manage all core functions of the Publer platform, including:\n\n- **Publishing & Scheduling** \n Draft, schedule, auto-schedule, or instantly publish posts (including bulk and recurring content) across 13+ supported social platforms.\n \n- **Media Management** \n Upload, organize, and attach media—images, videos, GIFs, PDFs, and more. Apply watermarks and manage media libraries per workspace or account.\n \n- **Workspace & Collaboration** \n Manage teams, clients, and brands through isolated workspaces. Retrieve user profiles, permissions, and organize content by workspace.\n \n- **Advanced Features** \n Automate post actions (auto-share, follow-up comments, auto-delete), append branded signatures, use location tags, and customize posts with platform-specific features.\n \n\n---\n\n## Supported Social Networks\n\nPublish and manage content on:\n\n- Facebook, Instagram, Twitter/X, LinkedIn, Pinterest, YouTube, TikTok, Google Business Profile, WordPress, Telegram, Mastodon, Threads, and Bluesky.\n \n\n---\n\n## Core Capabilities\n\n- **Content Types:** \n Status updates, images, videos, reels, stories, polls, PDFs, links, carousels, events, offers, and more.\n \n- **Bulk Scheduling:** \n Schedule up to 500 posts in a single request for efficient multi-account planning.\n \n- **Media Options:** \n Organize Facebook albums, Pinterest boards, and apply account-specific watermarks.\n \n- **Branding & Protection:** \n Use signatures and watermarks to reinforce your brand and protect creative assets.\n \n\n---\n\n## How to Get Started\n\n1. **Generate an API Key**\n \n - Sign in with Ambassador or Enterprise access.\n \n - Go to `Settings → Access & Login → API Keys`, generate a key, and copy it securely.\n \n2. **List Your Workspaces & Accounts**\n \n - Use the API to retrieve workspace and account IDs for all actions.\n \n3. **Upload Media (Optional)**\n \n - Upload images, videos, or docs to get reusable media IDs.\n \n4. **Create & Schedule Posts**\n \n - Use the Posts API to draft, schedule, or bulk publish content across your accounts.\n \n5. **Monitor Jobs**\n \n - Every action returns a job ID—track and analyze your posts programmatically.\n \n\n---\n\n## Best Practices\n\n- Store and manage API keys securely.\n \n- Use the minimum scopes required for your integrations.\n \n- Comply with posting limits and content guidelines for each platform.\n \n- Use `alt_text` for accessible images.\n \n\n---\n\n## Documentation & Support\n\n- For full endpoint details, examples, and best practices, refer to the [Publer API Documentation](https://publer.com/docs).\n \n\n---\n\n**Build smarter. Automate faster. Take control of your social content with the Publer API!**",
5
+ "description": "Welcome to the **Publer API** collection!\n\nThis API enables developers, agencies, and marketing teams to automate social media workflows, integrate advanced scheduling tools, and manage multiple brands at scale—all from your own applications.\n\n---\n\n## What is the Publer API?\n\nThe Publer API is a modern, RESTful JSON interface designed for seamless social media automation. It lets you programmatically access and manage all core functions of the Publer platform, including:\n\n- **Publishing & Scheduling** \n Draft, schedule, auto-schedule, or instantly publish posts (including bulk and recurring content) across 13+ supported social platforms.\n \n- **Media Management** \n Upload, organize, and attach media—images, videos, GIFs, PDFs, and more. Apply watermarks and manage media libraries per workspace or account.\n \n- **Workspace & Collaboration** \n Manage teams, clients, and brands through isolated workspaces. Retrieve user profiles, permissions, and organize content by workspace.\n \n- **Advanced Features** \n Automate post actions (auto-share, follow-up comments, auto-delete), append branded signatures, use location tags, and customize posts with platform-specific features.\n \n\n---\n\n## Supported Social Networks\n\nPublish and manage content on:\n\n- Facebook, Instagram, Twitter/X, LinkedIn, Pinterest, YouTube, TikTok, Google Business Profile, WordPress, Telegram, Mastodon, Threads, and Bluesky.\n \n\n---\n\n## Core Capabilities\n\n- **Content Types:** \n Status updates, images, videos, reels, stories, polls, PDFs, links, carousels, events, offers, and more.\n \n- **Bulk Scheduling:** \n Schedule up to 500 posts in a single request for efficient multi-account planning.\n \n- **Media Options:** \n Organize Facebook albums, Pinterest boards, and apply account-specific watermarks.\n \n- **Branding & Protection:** \n Use signatures and watermarks to reinforce your brand and protect ...",
6
6
  "version": "1.0.0"
7
7
  },
8
8
  "servers": [
9
9
  {
10
- "url": "http://{{url}}"
10
+ "url": "https://app.publer.com/api/v1"
11
11
  }
12
12
  ],
13
- "components": {
14
- "securitySchemes": {
15
- "apikeyAuth": {
16
- "type": "http",
17
- "scheme": "apikey"
18
- }
19
- }
20
- },
21
13
  "security": [
22
14
  {
23
- "apikeyAuth": []
15
+ "bearerAuth": []
24
16
  }
25
17
  ],
26
18
  "tags": [
@@ -65,7 +57,7 @@
65
57
  }
66
58
  ],
67
59
  "paths": {
68
- "/api/v1/users/me": {
60
+ "/users/me": {
69
61
  "get": {
70
62
  "tags": [
71
63
  "USERS"
@@ -81,7 +73,7 @@
81
73
  }
82
74
  }
83
75
  },
84
- "/api/v1/workspaces": {
76
+ "/workspaces": {
85
77
  "get": {
86
78
  "tags": [
87
79
  "WORKSPACES"
@@ -97,7 +89,7 @@
97
89
  }
98
90
  }
99
91
  },
100
- "/api/v1/workspaces/{workspace_id}/signatures": {
92
+ "/workspaces/{workspace_id}/signatures": {
101
93
  "get": {
102
94
  "tags": [
103
95
  "WORKSPACES"
@@ -131,7 +123,7 @@
131
123
  }
132
124
  }
133
125
  },
134
- "/api/v1/workspaces/{workspace_id}/media_options": {
126
+ "/workspaces/{workspace_id}/media_options": {
135
127
  "get": {
136
128
  "tags": [
137
129
  "WORKSPACES"
@@ -165,12 +157,12 @@
165
157
  }
166
158
  }
167
159
  },
168
- "/api/v1/accounts": {
160
+ "/accounts": {
169
161
  "get": {
170
162
  "tags": [
171
163
  "ACCOUNTS"
172
164
  ],
173
- "summary": "Accounts",
165
+ "summary": "List Accounts",
174
166
  "parameters": [
175
167
  {
176
168
  "name": "Publer-Workspace-Id",
@@ -178,20 +170,28 @@
178
170
  "schema": {
179
171
  "type": "string"
180
172
  },
181
- "example": "{{workspace_id}}"
173
+ "example": "{{workspace_id}}",
174
+ "required": true
182
175
  }
183
176
  ],
184
177
  "responses": {
185
178
  "200": {
186
179
  "description": "Successful response",
187
180
  "content": {
188
- "application/json": {}
181
+ "application/json": {
182
+ "schema": {
183
+ "type": "array",
184
+ "items": {
185
+ "$ref": "#/components/schemas/Account"
186
+ }
187
+ }
188
+ }
189
189
  }
190
190
  }
191
191
  }
192
192
  }
193
193
  },
194
- "/api/v1/media": {
194
+ "/media": {
195
195
  "get": {
196
196
  "tags": [
197
197
  "MEDIA"
@@ -204,23 +204,68 @@
204
204
  "schema": {
205
205
  "type": "string"
206
206
  },
207
- "example": "{{workspace_id}}"
207
+ "example": "{{workspace_id}}",
208
+ "required": true
209
+ },
210
+ {
211
+ "name": "ids[]",
212
+ "in": "query",
213
+ "schema": {
214
+ "type": "array",
215
+ "items": {
216
+ "type": "string"
217
+ }
218
+ },
219
+ "example": ["647a0edddb2797b89044e2c1"]
220
+ },
221
+ {
222
+ "name": "page",
223
+ "in": "query",
224
+ "schema": {
225
+ "type": "integer"
226
+ },
227
+ "example": 0
208
228
  },
209
229
  {
210
230
  "name": "types[]",
211
231
  "in": "query",
212
232
  "schema": {
213
- "type": "string"
233
+ "type": "array",
234
+ "items": {
235
+ "type": "string",
236
+ "enum": ["photo", "video", "gif"]
237
+ }
214
238
  },
215
- "example": "photo"
239
+ "example": ["photo"]
216
240
  },
217
241
  {
218
242
  "name": "used[]",
219
243
  "in": "query",
220
244
  "schema": {
221
- "type": "boolean"
245
+ "type": "array",
246
+ "items": {
247
+ "type": "boolean"
248
+ }
222
249
  },
223
- "example": "false"
250
+ "example": [false]
251
+ },
252
+ {
253
+ "name": "source[]",
254
+ "in": "query",
255
+ "schema": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "string",
259
+ "enum": ["canva", "vista", "postnitro", "contentdrips", "openai", "favorites", "upload"]
260
+ }
261
+ }
262
+ },
263
+ {
264
+ "name": "search",
265
+ "in": "query",
266
+ "schema": {
267
+ "type": "string"
268
+ }
224
269
  }
225
270
  ],
226
271
  "responses": {
@@ -231,9 +276,7 @@
231
276
  }
232
277
  }
233
278
  }
234
- }
235
- },
236
- "/api/v1/media/": {
279
+ },
237
280
  "post": {
238
281
  "tags": [
239
282
  "MEDIA"
@@ -251,11 +294,11 @@
251
294
  },
252
295
  "direct_upload": {
253
296
  "type": "boolean",
254
- "example": "false"
297
+ "example": false
255
298
  },
256
299
  "in_library": {
257
300
  "type": "boolean",
258
- "example": "true"
301
+ "example": true
259
302
  }
260
303
  }
261
304
  }
@@ -269,7 +312,8 @@
269
312
  "schema": {
270
313
  "type": "string"
271
314
  },
272
- "example": "{{workspace_id}}"
315
+ "example": "{{workspace_id}}",
316
+ "required": true
273
317
  }
274
318
  ],
275
319
  "responses": {
@@ -282,7 +326,7 @@
282
326
  }
283
327
  }
284
328
  },
285
- "/api/v1/media/from-url": {
329
+ "/media/from-url": {
286
330
  "post": {
287
331
  "tags": [
288
332
  "MEDIA"
@@ -351,7 +395,8 @@
351
395
  "schema": {
352
396
  "type": "string"
353
397
  },
354
- "example": "{{workspace_id}}"
398
+ "example": "{{workspace_id}}",
399
+ "required": true
355
400
  }
356
401
  ],
357
402
  "responses": {
@@ -364,44 +409,127 @@
364
409
  }
365
410
  }
366
411
  },
367
- "/api/v1/posts/schedule": {
412
+ "/posts/schedule": {
368
413
  "post": {
369
414
  "tags": [
370
415
  "POSTS > CONTENT TYPES"
371
416
  ],
372
- "summary": "Post with locations",
417
+ "summary": "Schedule post",
418
+ "description": "Schedule a post. Supports text, photo, video, link, carousel, story, reel, and gif content types.",
373
419
  "requestBody": {
374
420
  "content": {
375
421
  "application/json": {
376
422
  "schema": {
377
423
  "type": "object",
378
- "example": {
424
+ "required": ["bulk"],
425
+ "properties": {
379
426
  "bulk": {
380
- "state": "scheduled",
381
- "posts": [
382
- {
383
- "networks": {
384
- "facebook": {
385
- "type": "status",
386
- "text": "Facebook location"
387
- }
388
- },
389
- "accounts": [
390
- {
391
- "id": "647a0edddb2797b89044e2c1",
392
- "scheduled_at": "2025-06-14T10:21+02:00",
393
- "location": {
394
- "id": "308281375929281",
395
- "name": "Tirana",
396
- "info": "Tirana, Albania ⋅ 590 follow this",
397
- "verified": null,
398
- "address": "Tirana, Albania",
399
- "checkins": "590"
427
+ "type": "object",
428
+ "required": ["state", "posts"],
429
+ "properties": {
430
+ "state": {
431
+ "type": "string",
432
+ "enum": ["scheduled", "draft"],
433
+ "description": "Post state",
434
+ "example": "scheduled"
435
+ },
436
+ "posts": {
437
+ "type": "array",
438
+ "description": "Posts to create",
439
+ "items": {
440
+ "type": "object",
441
+ "required": ["networks", "accounts"],
442
+ "properties": {
443
+ "networks": {
444
+ "type": "object",
445
+ "description": "Network-specific post content",
446
+ "additionalProperties": {
447
+ "type": "object",
448
+ "description": "Per-network post configuration",
449
+ "properties": {
450
+ "type": {
451
+ "type": "string",
452
+ "enum": ["status", "photo", "video", "link", "carousel", "story", "reel", "gif"],
453
+ "description": "Content type: status (text only), photo, video, link, carousel, story, reel, or gif",
454
+ "example": "status"
455
+ },
456
+ "text": {
457
+ "type": "string",
458
+ "description": "Post text content",
459
+ "example": "Hello world!"
460
+ },
461
+ "media": {
462
+ "type": "array",
463
+ "description": "Media attachments (required for photo, video, carousel, story, reel, gif types)",
464
+ "items": {
465
+ "type": "object",
466
+ "properties": {
467
+ "id": {
468
+ "type": "string",
469
+ "description": "Media asset ID from upload"
470
+ },
471
+ "type": {
472
+ "type": "string",
473
+ "enum": ["photo", "video", "gif"],
474
+ "description": "Media type"
475
+ },
476
+ "caption": {
477
+ "type": "string",
478
+ "description": "Media caption"
479
+ }
480
+ }
481
+ }
482
+ },
483
+ "url": {
484
+ "type": "string",
485
+ "description": "URL for link posts (required when type=link)",
486
+ "example": "https://publer.com"
487
+ }
488
+ }
489
+ }
490
+ },
491
+ "accounts": {
492
+ "type": "array",
493
+ "description": "Target social media accounts",
494
+ "items": {
495
+ "type": "object",
496
+ "required": ["id"],
497
+ "properties": {
498
+ "id": {
499
+ "type": "string",
500
+ "description": "Account ID",
501
+ "example": "647a0edddb2797b89044e2c1"
502
+ },
503
+ "scheduled_at": {
504
+ "type": "string",
505
+ "description": "ISO 8601 scheduled time",
506
+ "example": "2025-06-14T10:21+02:00"
507
+ },
508
+ "location": {
509
+ "type": "object",
510
+ "description": "Location for Facebook/Instagram",
511
+ "properties": {
512
+ "id": {
513
+ "type": "string",
514
+ "description": "Location ID"
515
+ },
516
+ "name": {
517
+ "type": "string",
518
+ "description": "Location name"
519
+ },
520
+ "address": {
521
+ "type": "string",
522
+ "description": "Location address"
523
+ }
524
+ }
525
+ }
526
+ }
527
+ }
400
528
  }
401
529
  }
402
- ]
530
+ }
403
531
  }
404
- ]
532
+ }
405
533
  }
406
534
  }
407
535
  }
@@ -415,7 +543,8 @@
415
543
  "schema": {
416
544
  "type": "string"
417
545
  },
418
- "example": "{{workspace_id}}"
546
+ "example": "{{workspace_id}}",
547
+ "required": true
419
548
  }
420
549
  ],
421
550
  "responses": {
@@ -428,36 +557,109 @@
428
557
  }
429
558
  }
430
559
  },
431
- "/api/v1/posts/schedule/publish": {
560
+ "/posts/schedule/publish": {
432
561
  "post": {
433
562
  "tags": [
434
563
  "POSTS > PUBLISHING METHODS"
435
564
  ],
436
- "summary": "Publish",
565
+ "summary": "Publish immediately",
566
+ "description": "Publish a post immediately. Supports text, photo, video, link, carousel, story, reel, and gif content types.",
437
567
  "requestBody": {
438
568
  "content": {
439
569
  "application/json": {
440
570
  "schema": {
441
571
  "type": "object",
442
- "example": {
572
+ "required": ["bulk"],
573
+ "properties": {
443
574
  "bulk": {
444
- "state": "scheduled",
445
- "url": "publish",
446
- "posts": [
447
- {
448
- "networks": {
449
- "facebook": {
450
- "type": "status",
451
- "text": "Just published this update via the Publer API! #RealTimePosting"
452
- }
453
- },
454
- "accounts": [
455
- {
456
- "id": "647a0edddb2797b89044e2c1"
575
+ "type": "object",
576
+ "required": ["state", "posts"],
577
+ "properties": {
578
+ "state": {
579
+ "type": "string",
580
+ "enum": ["published"],
581
+ "description": "Must be 'published' for immediate publishing",
582
+ "example": "published"
583
+ },
584
+ "url": {
585
+ "type": "string",
586
+ "description": "Must be 'publish'",
587
+ "example": "publish"
588
+ },
589
+ "posts": {
590
+ "type": "array",
591
+ "description": "Posts to publish",
592
+ "items": {
593
+ "type": "object",
594
+ "required": ["networks", "accounts"],
595
+ "properties": {
596
+ "networks": {
597
+ "type": "object",
598
+ "description": "Network-specific post content",
599
+ "additionalProperties": {
600
+ "type": "object",
601
+ "description": "Per-network post configuration",
602
+ "properties": {
603
+ "type": {
604
+ "type": "string",
605
+ "enum": ["status", "photo", "video", "link", "carousel", "story", "reel", "gif"],
606
+ "description": "Content type: status (text only), photo, video, link, carousel, story, reel, or gif",
607
+ "example": "status"
608
+ },
609
+ "text": {
610
+ "type": "string",
611
+ "description": "Post text content",
612
+ "example": "Hello world!"
613
+ },
614
+ "media": {
615
+ "type": "array",
616
+ "description": "Media attachments (required for photo, video, carousel, story, reel, gif types)",
617
+ "items": {
618
+ "type": "object",
619
+ "properties": {
620
+ "id": {
621
+ "type": "string",
622
+ "description": "Media asset ID from upload"
623
+ },
624
+ "type": {
625
+ "type": "string",
626
+ "enum": ["photo", "video", "gif"],
627
+ "description": "Media type"
628
+ },
629
+ "caption": {
630
+ "type": "string",
631
+ "description": "Media caption"
632
+ }
633
+ }
634
+ }
635
+ },
636
+ "url": {
637
+ "type": "string",
638
+ "description": "URL for link posts (required when type=link)",
639
+ "example": "https://publer.com"
640
+ }
641
+ }
642
+ }
643
+ },
644
+ "accounts": {
645
+ "type": "array",
646
+ "description": "Target social media accounts",
647
+ "items": {
648
+ "type": "object",
649
+ "required": ["id"],
650
+ "properties": {
651
+ "id": {
652
+ "type": "string",
653
+ "description": "Account ID",
654
+ "example": "647a0edddb2797b89044e2c1"
655
+ }
656
+ }
657
+ }
658
+ }
457
659
  }
458
- ]
660
+ }
459
661
  }
460
- ]
662
+ }
461
663
  }
462
664
  }
463
665
  }
@@ -471,7 +673,8 @@
471
673
  "schema": {
472
674
  "type": "string"
473
675
  },
474
- "example": "{{workspace_id}}"
676
+ "example": "{{workspace_id}}",
677
+ "required": true
475
678
  }
476
679
  ],
477
680
  "responses": {
@@ -484,12 +687,12 @@
484
687
  }
485
688
  }
486
689
  },
487
- "/api/v1/posts": {
690
+ "/posts": {
488
691
  "get": {
489
692
  "tags": [
490
693
  "POSTS"
491
694
  ],
492
- "summary": "Get posts",
695
+ "summary": "List Posts",
493
696
  "parameters": [
494
697
  {
495
698
  "name": "Publer-Workspace-Id",
@@ -497,23 +700,91 @@
497
700
  "schema": {
498
701
  "type": "string"
499
702
  },
500
- "example": "{{workspace_id}}"
703
+ "example": "{{workspace_id}}",
704
+ "required": true
501
705
  },
502
706
  {
503
707
  "name": "state",
504
708
  "in": "query",
505
709
  "schema": {
506
- "type": "string"
710
+ "type": "string",
711
+ "enum": ["all", "scheduled", "scheduled_approved", "scheduled_pending", "scheduled_declined", "scheduled_reauth", "scheduled_locked", "published", "published_posted", "published_deleted", "published_hidden", "draft", "draft_dated", "draft_undated", "draft_private", "draft_public", "failed", "recycling", "recycling_active", "recycling_paused", "recycling_expired", "recycling_failed", "recycling_pending", "recycling_declined", "recycling_reauth", "recycling_locked", "recurring"]
507
712
  },
508
713
  "example": "scheduled"
509
714
  },
715
+ {
716
+ "name": "state",
717
+ "in": "query",
718
+ "schema": {
719
+ "type": "array",
720
+ "items": {
721
+ "type": "string",
722
+ "enum": ["all", "scheduled", "scheduled_approved", "scheduled_pending", "scheduled_declined", "scheduled_reauth", "scheduled_locked", "published", "published_posted", "published_deleted", "published_hidden", "draft", "draft_dated", "draft_undated", "draft_private", "draft_public", "failed", "recycling", "recycling_active", "recycling_paused", "recycling_expired", "recycling_failed", "recycling_pending", "recycling_declined", "recycling_reauth", "recycling_locked", "recurring"]
723
+ }
724
+ },
725
+ "style": "form",
726
+ "explode": true
727
+ },
728
+ {
729
+ "name": "from",
730
+ "in": "query",
731
+ "schema": {
732
+ "type": "string",
733
+ "format": "date"
734
+ },
735
+ "example": "2025-01-01"
736
+ },
737
+ {
738
+ "name": "to",
739
+ "in": "query",
740
+ "schema": {
741
+ "type": "string",
742
+ "format": "date"
743
+ },
744
+ "example": "2025-12-31"
745
+ },
510
746
  {
511
747
  "name": "page",
512
748
  "in": "query",
513
749
  "schema": {
514
750
  "type": "integer"
515
751
  },
516
- "example": "0"
752
+ "example": 0
753
+ },
754
+ {
755
+ "name": "account_ids",
756
+ "in": "query",
757
+ "schema": {
758
+ "type": "array",
759
+ "items": {
760
+ "type": "string"
761
+ }
762
+ },
763
+ "style": "form",
764
+ "explode": true,
765
+ "example": ["63c675b54e299e9cf2b667ea"]
766
+ },
767
+ {
768
+ "name": "query",
769
+ "in": "query",
770
+ "schema": {
771
+ "type": "string"
772
+ }
773
+ },
774
+ {
775
+ "name": "postType",
776
+ "in": "query",
777
+ "schema": {
778
+ "type": "string",
779
+ "enum": ["status", "link", "photo", "gif", "video", "reel", "story", "short", "poll", "document", "carousel", "article"]
780
+ }
781
+ },
782
+ {
783
+ "name": "member_id",
784
+ "in": "query",
785
+ "schema": {
786
+ "type": "string"
787
+ }
517
788
  }
518
789
  ],
519
790
  "responses": {
@@ -537,15 +808,19 @@
537
808
  "schema": {
538
809
  "type": "string"
539
810
  },
540
- "example": "{{workspace_id}}"
811
+ "example": "{{workspace_id}}",
812
+ "required": true
541
813
  },
542
814
  {
543
815
  "name": "post_ids[]",
544
816
  "in": "query",
545
817
  "schema": {
546
- "type": "string"
818
+ "type": "array",
819
+ "items": {
820
+ "type": "string"
821
+ }
547
822
  },
548
- "example": "684945796a88bf9baa9c182c"
823
+ "example": ["684945796a88bf9baa9c182c"]
549
824
  }
550
825
  ],
551
826
  "responses": {
@@ -558,7 +833,7 @@
558
833
  }
559
834
  }
560
835
  },
561
- "/api/v1/posts/links": {
836
+ "/posts/links": {
562
837
  "post": {
563
838
  "tags": [
564
839
  "POSTS"
@@ -586,35 +861,29 @@
586
861
  }
587
862
  }
588
863
  },
589
- "/api/v1/posts/684945796a88bf9baa9c182c": {
864
+ "/posts/{post_id}": {
590
865
  "put": {
591
866
  "tags": [
592
867
  "POSTS"
593
868
  ],
594
869
  "summary": "Update post",
595
- "requestBody": {
596
- "content": {
597
- "application/json": {
598
- "schema": {
599
- "type": "object",
600
- "example": {
601
- "post": {
602
- "text": "Status Update UPDATED",
603
- "title": null
604
- }
605
- }
606
- }
607
- }
608
- }
609
- },
610
870
  "parameters": [
871
+ {
872
+ "name": "post_id",
873
+ "in": "path",
874
+ "schema": {
875
+ "type": "string"
876
+ },
877
+ "required": true
878
+ },
611
879
  {
612
880
  "name": "Publer-Workspace-Id",
613
881
  "in": "header",
614
882
  "schema": {
615
883
  "type": "string"
616
884
  },
617
- "example": "{{workspace_id}}"
885
+ "example": "{{workspace_id}}",
886
+ "required": true
618
887
  }
619
888
  ],
620
889
  "responses": {
@@ -627,20 +896,29 @@
627
896
  }
628
897
  }
629
898
  },
630
- "/api/v1/job_status/6849530cdd9d40170723cd66": {
899
+ "/job_status/{job_id}": {
631
900
  "get": {
632
901
  "tags": [
633
902
  "JOB STATUS"
634
903
  ],
635
904
  "summary": "Job status",
636
905
  "parameters": [
906
+ {
907
+ "name": "job_id",
908
+ "in": "path",
909
+ "schema": {
910
+ "type": "string"
911
+ },
912
+ "required": true
913
+ },
637
914
  {
638
915
  "name": "Publer-Workspace-Id",
639
916
  "in": "header",
640
917
  "schema": {
641
918
  "type": "string"
642
919
  },
643
- "example": "{{workspace_id}}"
920
+ "example": "{{workspace_id}}",
921
+ "required": true
644
922
  }
645
923
  ],
646
924
  "responses": {
@@ -653,7 +931,7 @@
653
931
  }
654
932
  }
655
933
  },
656
- "/api/v1/locations/instagram": {
934
+ "/locations/instagram": {
657
935
  "get": {
658
936
  "tags": [
659
937
  "LOCATIONS"
@@ -666,7 +944,8 @@
666
944
  "schema": {
667
945
  "type": "string"
668
946
  },
669
- "example": "{{workspace_id}}"
947
+ "example": "{{workspace_id}}",
948
+ "required": true
670
949
  },
671
950
  {
672
951
  "name": "q",
@@ -674,7 +953,7 @@
674
953
  "schema": {
675
954
  "type": "string"
676
955
  },
677
- "example": "Tirana\n"
956
+ "example": "Tirana"
678
957
  }
679
958
  ],
680
959
  "responses": {
@@ -687,7 +966,7 @@
687
966
  }
688
967
  }
689
968
  },
690
- "/api/v1/locations/facebook": {
969
+ "/locations/facebook": {
691
970
  "get": {
692
971
  "tags": [
693
972
  "LOCATIONS"
@@ -700,7 +979,8 @@
700
979
  "schema": {
701
980
  "type": "string"
702
981
  },
703
- "example": "{{workspace_id}}"
982
+ "example": "{{workspace_id}}",
983
+ "required": true
704
984
  },
705
985
  {
706
986
  "name": "q",
@@ -708,7 +988,7 @@
708
988
  "schema": {
709
989
  "type": "string"
710
990
  },
711
- "example": "Tirana\n"
991
+ "example": "Tirana"
712
992
  }
713
993
  ],
714
994
  "responses": {
@@ -721,7 +1001,7 @@
721
1001
  }
722
1002
  }
723
1003
  },
724
- "/api/v1/locations/threads": {
1004
+ "/locations/threads": {
725
1005
  "get": {
726
1006
  "tags": [
727
1007
  "LOCATIONS"
@@ -734,7 +1014,8 @@
734
1014
  "schema": {
735
1015
  "type": "string"
736
1016
  },
737
- "example": "{{workspace_id}}"
1017
+ "example": "{{workspace_id}}",
1018
+ "required": true
738
1019
  },
739
1020
  {
740
1021
  "name": "q",
@@ -742,7 +1023,7 @@
742
1023
  "schema": {
743
1024
  "type": "string"
744
1025
  },
745
- "example": "Tirana\n"
1026
+ "example": "Tirana"
746
1027
  }
747
1028
  ],
748
1029
  "responses": {
@@ -755,7 +1036,7 @@
755
1036
  }
756
1037
  }
757
1038
  },
758
- "/api/v1/analytics/charts": {
1039
+ "/analytics/charts": {
759
1040
  "get": {
760
1041
  "tags": [
761
1042
  "ANALYTICS"
@@ -768,7 +1049,8 @@
768
1049
  "schema": {
769
1050
  "type": "string"
770
1051
  },
771
- "example": "{{workspace_id}}"
1052
+ "example": "{{workspace_id}}",
1053
+ "required": true
772
1054
  }
773
1055
  ],
774
1056
  "responses": {
@@ -781,7 +1063,7 @@
781
1063
  }
782
1064
  }
783
1065
  },
784
- "/api/v1/analytics/{account_id}/chart_data": {
1066
+ "/analytics/{account_id}/chart_data": {
785
1067
  "get": {
786
1068
  "tags": [
787
1069
  "ANALYTICS"
@@ -794,7 +1076,8 @@
794
1076
  "schema": {
795
1077
  "type": "string"
796
1078
  },
797
- "example": "{{workspace_id}}"
1079
+ "example": "{{workspace_id}}",
1080
+ "required": true
798
1081
  },
799
1082
  {
800
1083
  "name": "from",
@@ -816,9 +1099,12 @@
816
1099
  "name": "chart_ids[]",
817
1100
  "in": "query",
818
1101
  "schema": {
819
- "type": "string"
1102
+ "type": "array",
1103
+ "items": {
1104
+ "type": "string"
1105
+ }
820
1106
  },
821
- "example": "followers"
1107
+ "example": ["followers"]
822
1108
  },
823
1109
  {
824
1110
  "name": "account_id",
@@ -839,7 +1125,7 @@
839
1125
  }
840
1126
  }
841
1127
  },
842
- "/api/v1/analytics/{account_id}/post_insights": {
1128
+ "/analytics/{account_id}/post_insights": {
843
1129
  "get": {
844
1130
  "tags": [
845
1131
  "ANALYTICS"
@@ -852,7 +1138,8 @@
852
1138
  "schema": {
853
1139
  "type": "string"
854
1140
  },
855
- "example": "{{workspace_id}}"
1141
+ "example": "{{workspace_id}}",
1142
+ "required": true
856
1143
  },
857
1144
  {
858
1145
  "name": "from",
@@ -876,7 +1163,7 @@
876
1163
  "schema": {
877
1164
  "type": "integer"
878
1165
  },
879
- "example": "0"
1166
+ "example": 0
880
1167
  },
881
1168
  {
882
1169
  "name": "account_id",
@@ -897,7 +1184,7 @@
897
1184
  }
898
1185
  }
899
1186
  },
900
- "/api/v1/analytics/{account_id}/hashtag_insights": {
1187
+ "/analytics/{account_id}/hashtag_insights": {
901
1188
  "get": {
902
1189
  "tags": [
903
1190
  "ANALYTICS"
@@ -910,7 +1197,8 @@
910
1197
  "schema": {
911
1198
  "type": "string"
912
1199
  },
913
- "example": "{{workspace_id}}"
1200
+ "example": "{{workspace_id}}",
1201
+ "required": true
914
1202
  },
915
1203
  {
916
1204
  "name": "from",
@@ -947,7 +1235,7 @@
947
1235
  }
948
1236
  }
949
1237
  },
950
- "/api/v1/analytics/{account_id}/hashtag_performing_posts": {
1238
+ "/analytics/{account_id}/hashtag_performing_posts": {
951
1239
  "get": {
952
1240
  "tags": [
953
1241
  "ANALYTICS"
@@ -960,7 +1248,8 @@
960
1248
  "schema": {
961
1249
  "type": "string"
962
1250
  },
963
- "example": "{{workspace_id}}"
1251
+ "example": "{{workspace_id}}",
1252
+ "required": true
964
1253
  },
965
1254
  {
966
1255
  "name": "hashtag",
@@ -1006,7 +1295,7 @@
1006
1295
  }
1007
1296
  }
1008
1297
  },
1009
- "/api/v1/analytics/{account_id}best_times": {
1298
+ "/analytics/{account_id}/best_times": {
1010
1299
  "get": {
1011
1300
  "tags": [
1012
1301
  "ANALYTICS"
@@ -1019,7 +1308,8 @@
1019
1308
  "schema": {
1020
1309
  "type": "string"
1021
1310
  },
1022
- "example": "{{workspace_id}}"
1311
+ "example": "{{workspace_id}}",
1312
+ "required": true
1023
1313
  },
1024
1314
  {
1025
1315
  "name": "from",
@@ -1056,7 +1346,7 @@
1056
1346
  }
1057
1347
  }
1058
1348
  },
1059
- "/api/v1/analytics/members": {
1349
+ "/analytics/members": {
1060
1350
  "get": {
1061
1351
  "tags": [
1062
1352
  "ANALYTICS"
@@ -1069,7 +1359,8 @@
1069
1359
  "schema": {
1070
1360
  "type": "string"
1071
1361
  },
1072
- "example": "{{workspace_id}}"
1362
+ "example": "{{workspace_id}}",
1363
+ "required": true
1073
1364
  },
1074
1365
  {
1075
1366
  "name": "from",
@@ -1098,7 +1389,7 @@
1098
1389
  }
1099
1390
  }
1100
1391
  },
1101
- "/api/v1/competitors": {
1392
+ "/competitors": {
1102
1393
  "get": {
1103
1394
  "tags": [
1104
1395
  "ANALYTICS"
@@ -1111,7 +1402,8 @@
1111
1402
  "schema": {
1112
1403
  "type": "string"
1113
1404
  },
1114
- "example": "{{workspace_id}}"
1405
+ "example": "{{workspace_id}}",
1406
+ "required": true
1115
1407
  }
1116
1408
  ],
1117
1409
  "responses": {
@@ -1124,20 +1416,29 @@
1124
1416
  }
1125
1417
  }
1126
1418
  },
1127
- "/api/v1/competitors/66e011b94e299eb49376c715/analytics": {
1419
+ "/competitors/{competitor_id}/analytics": {
1128
1420
  "get": {
1129
1421
  "tags": [
1130
1422
  "ANALYTICS"
1131
1423
  ],
1132
1424
  "summary": "Competitors analytics",
1133
1425
  "parameters": [
1426
+ {
1427
+ "name": "competitor_id",
1428
+ "in": "path",
1429
+ "schema": {
1430
+ "type": "string"
1431
+ },
1432
+ "required": true
1433
+ },
1134
1434
  {
1135
1435
  "name": "Publer-Workspace-Id",
1136
1436
  "in": "header",
1137
1437
  "schema": {
1138
1438
  "type": "string"
1139
1439
  },
1140
- "example": "{{workspace_id}}"
1440
+ "example": "{{workspace_id}}",
1441
+ "required": true
1141
1442
  },
1142
1443
  {
1143
1444
  "name": "from",
@@ -1161,7 +1462,7 @@
1161
1462
  "schema": {
1162
1463
  "type": "integer"
1163
1464
  },
1164
- "example": "0"
1465
+ "example": 0
1165
1466
  }
1166
1467
  ],
1167
1468
  "responses": {
@@ -1174,5 +1475,48 @@
1174
1475
  }
1175
1476
  }
1176
1477
  }
1478
+ },
1479
+ "components": {
1480
+ "schemas": {
1481
+ "Account": {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "id": {
1485
+ "type": "string",
1486
+ "description": "Unique identifier for the account"
1487
+ },
1488
+ "provider": {
1489
+ "type": "string",
1490
+ "description": "The social network provider",
1491
+ "enum": ["bluesky", "facebook", "instagram", "linkedin", "twitter", "tiktok", "youtube", "pinterest", "google", "wordpress", "telegram", "mastodon", "threads"]
1492
+ },
1493
+ "name": {
1494
+ "type": "string",
1495
+ "description": "The display name of the social media account"
1496
+ },
1497
+ "social_id": {
1498
+ "type": "string",
1499
+ "description": "Unique identifier for the account on the social media platform"
1500
+ },
1501
+ "picture": {
1502
+ "type": "string",
1503
+ "description": "URL to the account's avatar/logo"
1504
+ },
1505
+ "type": {
1506
+ "type": "string",
1507
+ "description": "Account type",
1508
+ "enum": ["page", "profile", "group", "business", "channel", "location", "blog"]
1509
+ }
1510
+ }
1511
+ }
1512
+ },
1513
+ "securitySchemes": {
1514
+ "bearerAuth": {
1515
+ "type": "apiKey",
1516
+ "name": "Authorization",
1517
+ "in": "header",
1518
+ "description": "API key authentication. Format: \"Bearer-API YOUR_API_KEY\""
1519
+ }
1520
+ }
1177
1521
  }
1178
1522
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptive-ds/n8n-nodes-publer",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "n8n node to connect with Publer.com social media management API",
5
5
  "keywords": [
6
6
  "n8n",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptive-ds/n8n-nodes-publer",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "n8n node to connect with Publer.com social media management API",
5
5
  "keywords": [
6
6
  "n8n",