Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link property to Section.Representation. #38

Merged
merged 4 commits into from
May 9, 2024

Conversation

Loic-Dumas
Copy link
Contributor

@Loic-Dumas Loic-Dumas commented May 8, 2024

Description

Add link property to Section.Representation

Changes Made

Create object Link.
Add it to Section.Representation.Properties

Section example

{
  "id": "6fc354ec-eefa-4450-ae63-461770db0391",
  "isPublished": false,
  "vendor": "RTS",
  "sectionType": "MediaSection",
  "hasPersonalizedContent": false,
  "representation": {
    "name": "Swimlane",
    "properties": {
      "title": "Highlight Valère Basilica",
      "description": "Une belle petite description du film",
      "hasDetailPage": false,
      "link": {
        "targetType": "MICRO_PAGE",
        "target": "48fe9180-5b2b-4d76-8ea6-c3033a92fd09"
      }
    }
  },
  "isGlobal": false
}

@Loic-Dumas Loic-Dumas requested review from pyby, mutaben and StaehliJ May 8, 2024 12:22
@Loic-Dumas Loic-Dumas enabled auto-merge May 9, 2024 07:25
@Loic-Dumas Loic-Dumas added this pull request to the merge queue May 9, 2024
Merged via the queue into main with commit e6b9c0a May 9, 2024
3 checks passed
@Loic-Dumas Loic-Dumas deleted the add-link-to-section-representation branch May 9, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants