Skip to content

Commit

Permalink
Source Pinterest: fix expected records (#26949)
Browse files Browse the repository at this point in the history
* Source Pinterest: fix expected records

* Source Pinterest: updated schema for board_pins

* Source Pinterest: bump version

* Source Pinterest: update changelog
  • Loading branch information
roman-yermilov-gl committed Jun 2, 2023
1 parent 4735234 commit 0a63c45
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_pinterest ./source_pinterest
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.5.1
LABEL io.airbyte.version=0.5.2
LABEL io.airbyte.name=airbyte/source-pinterest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{"stream": "ad_accounts", "data": {"id": "549761668032", "name": "Airbyte", "owner": {"username": "integrationtest0375"}, "country": "US", "currency": "USD", "permissions": ["OWNER"], "created_time": 1603772920, "updated_time": 1623173784}, "emitted_at": 1680356913507}
{"stream": "boards", "data": {"media": {"pin_thumbnail_urls": [], "image_cover_url": "https://i.pinimg.com/400x300/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "owner": {"username": "integrationtest0375"}, "created_at": "2021-06-08T09:37:18", "board_pins_modified_at": "2021-10-25T11:17:56.715000", "id": "666743988523388559", "collaborator_count": 0, "follower_count": 2, "pin_count": 1, "privacy": "PUBLIC", "name": "business", "description": ""}, "emitted_at": 1680356853019}
{"stream": "board_pins", "data": {"id": "666743919837294988", "board_id": "666743988523388559", "alt_text": null, "board_section_id": "5195034916661798218", "is_owner": true, "board_owner": {"username": "integrationtest0375"}, "description": "Data Integration", "media": {"media_type": "image", "images": {"150x150": {"width": 150, "height": 150, "url": "https://i.pinimg.com/150x150/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "400x300": {"width": 400, "height": 300, "url": "https://i.pinimg.com/400x300/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "600x": {"width": 600, "height": 359, "url": "https://i.pinimg.com/600x/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "1200x": {"width": 1200, "height": 718, "url": "https://i.pinimg.com/1200x/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "originals": {"width": 1270, "height": 760, "url": "https://i.pinimg.com/originals/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}}}, "product_tags": [], "created_at": "2021-06-08T09:37:30", "dominant_color": "#cacafe", "parent_pin_id": null, "is_standard": true, "creative_type": "REGULAR", "title": "Airbyte", "link": "http://airbyte.io/"}, "emitted_at": 1684325353891}
{"stream": "board_pins", "data": {"id": "666743919837294988", "board_id": "666743988523388559", "alt_text": null, "note": "", "board_section_id": "5195034916661798218", "is_owner": true, "board_owner": {"username": "integrationtest0375"}, "description": "Data Integration", "media": {"media_type": "image", "images": {"150x150": {"width": 150, "height": 150, "url": "https://i.pinimg.com/150x150/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "400x300": {"width": 400, "height": 300, "url": "https://i.pinimg.com/400x300/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "600x": {"width": 600, "height": 359, "url": "https://i.pinimg.com/600x/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "1200x": {"width": 1200, "height": 718, "url": "https://i.pinimg.com/1200x/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}, "originals": {"width": 1270, "height": 760, "url": "https://i.pinimg.com/originals/c6/b6/0d/c6b60d6b5f2ec04db7748d35fb1a8004.jpg"}}}, "product_tags": [], "created_at": "2021-06-08T09:37:30", "dominant_color": "#cacafe", "parent_pin_id": null, "is_standard": true, "creative_type": "REGULAR", "title": "Airbyte", "link": "http://airbyte.io/"}, "emitted_at": 1684325353891}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 5cb7e5fe-38c2-11ec-8d3d-0242ac130003
dockerImageTag: 0.5.1
dockerImageTag: 0.5.2
dockerRepository: airbyte/source-pinterest
githubIssueLabel: source-pinterest
icon: pinterest.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"alt_text": {
"type": ["null", "string"]
},
"note": {
"type": ["null", "string"]
},
"board_id": {
"type": ["null", "string"]
},
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/pinterest.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ The connector is restricted by the Pinterest [requests limitation](https://devel

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------------------------|
| 0.5.2 | 2023-06-02 | [26949](https://github.com/airbytehq/airbyte/pull/26949) | Update `BoardPins` stream with `note` property |
| 0.5.1 | 2023-05-11 | [25984](https://github.com/airbytehq/airbyte/pull/25984) | Add pattern for start_date |
| 0.5.0 | 2023-05-17 | [26188](https://github.com/airbytehq/airbyte/pull/26188) | Add `product_tags` field to the `BoardPins` stream |
| 0.4.0 | 2023-05-16 | [26112](https://github.com/airbytehq/airbyte/pull/26112) | Add `is_standard` field to the `BoardPins` stream |
Expand Down

0 comments on commit 0a63c45

Please sign in to comment.