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 additional properties to Extensions Management REST API listing #486

Closed
wants to merge 1 commit into from

Conversation

brionmario
Copy link
Member

Purpose

To support the following structure.

[
    {
        "id": "box",
        "name": "Box",
        "description": "Empowers your teams by making it easy to work with people inside and outside your organization.",
        "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw8PDhANDQ8ODQ8NEBANDQ0ODRANDxAQFREWFhUSFRUYHSggGBomHRYVITEhJjU1Li4uFx8zODctNygtLysBCgoKDg0OGhAQGi0lHyUtLS0yNSsvLS0tLS0tLi0tLS8tKzAtLS0tMCstLS0rLS0rLS0tLy0tLSstLS8tLy0tL//AABEIAOEA4QMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAAAQcCBQYEA//EAEIQAAIBAwAHBAYGCAUFAAAAAAABAgMEEQUGEiExQWETUXGBBxQicpGhIzIzUrGyQkNigqLB0fAkNDVT8RVjktLh/8QAGgEBAQADAQEAAAAAAAAAAAAAAAECAwUEBv/EADMRAAEDAgEKBAUFAQAAAAAAAAABAgMEEUEFEiExUXGBwdHwM2GRsRMUIqHxFSMyUuFC/9oADAMBAAIRAxEAPwC5m9v2pey48F3nMaw62woT2KMVVrw9l5f0dNr7zW9vovihrtpyVCnGjD2K9VZTW504cHLxbWF4N8iuT30tKj0z36sEOZW1qxr8OPXiuw2V9p+7rScp157/ANGL7OGO7EcZ8zXNt73vb5veyAdNrUboRLHGc9zlu5VUAAyMQAAAAAAAAAAAAAAAAAAAAAAAAAyAUZPbZ6ZuqMs0ripHHJyc4/8AjLKPEYmKtRdCoZNcqaltuO/1e11jOWxdxjTnLcqsd1OTf3lyfXh4HYr2N8fb2+PT+8lHHd6g6fk/8FUe1LGaEpb24xW+HkstdE+45tVSo1M9nFOh1qO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AAA9YANhqAAYKCACAggEAoAIAJMQCFBiAQoIDIBQACAEAAAAAAAAAAAAAAAAAHsZB79O2ro3VelJY2Zya92TzH5NHhM2rdEUwc2zlbs0egMQAQGIIBQAQACACFBiAQoIBAKAAQAgAAAAAAAAAAAAAAAGdvQlVnClDfOrKNOC/abwvxAHYT+6yS3v+hWfc/gDwfPN2HU/TXf2NLr7oWU4q7h7U6cdmolltwW9S8Vl+T6HBF242PZft7e7PdyOK1j1LzNzs8bUvalQeIRb/ZfBeD3eApKpGpmP4d8xW0SuX4kfFOaczhjE+15aVaMtivTnSlwxKLjnwzx8UfA6Ws5GpbKSQSYgAgyMSFBBJiFKgIAIUgkEEAIAAAAAAAAAAAAAAABnb0J1ZbFKE6s3+hTi5S+CA8jA7b0d6BlOfr01sxp5VDP6UnlOS6JZXi33DVzUWc5Kd97EVv7BPM5dJNP2V0W/wLAp000oQSpRpJRSisLC3JJLGFuPBU1KWVjF3qdOjo1ukkibk773WHrFP7n8MQZet/sfP/4Qc86xFp9Wfh/Jih9lPz/BAAHk0p/kpf3+kVJf/aPz/FgHQoNbjl5U1NPMADpHHBiSCFIIAAQEAFCEgAxKYMABSkAAgAAAAAAAAAM7f68fEt/Vz/JrxQB4K7+KHVyZrcbS5+yh+7+UyvOEP77iAc46h7AAAf/Z",
        "displayOrder": 5,
        "tags": [
            "sso"
        ],
        "category": "CONTENT_MANAGEMENT",
        "type": "applications",
        "self": "/t/brionmario/api/server/v1/extensions/applications/box",
+        "additionalProperties": [
            {
                "key": "publisher",
                "value": {
                    "displayName": "Box",
                    "logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Box%2C_Inc._logo.svg/1200px-Box%2C_Inc._logo.svg.png"
                }
            }
        ]
    },
    {
        "id": "mobile-application",
        "name": "Mobile Application",
        "description": "Applications developed to target mobile devices.",
        "image": "https://dev.console.asgardeo.io/app/libs/themes/default/assets/images/templates/applications/mobile-application-template.svg",
        "displayOrder": 4,
        "tags": [
            "android",
            "ios",
            "oidc"
        ],
        "category": "DEFAULT",
        "type": "applications",
        "self": "/t/brionmario/api/server/v1/extensions/applications/mobile-application",
+        "additionalProperties": [
            {
                "key": "publisher",
                "value": {
                    "displayName": "Asgardeo",
                    "logo": "https://cdn.statically.io/gh/brionmario/oxygen-ui/main/examples/multi-brand-identity/public/assets/brands/asgardeo/images/asgardeo-logo.svg"
                }
            },
            {
                "key": "supportedTechnologies",
                "value": [
                    {
                        "displayName": "Flutter",
                        "logo": "https://www.svgrepo.com/show/353751/flutter.svg"
                    },
                    {
                        "displayName": "Android",
                        "logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Android_robot.svg/1745px-Android_robot.svg.png"
                    },
                    {
                        "displayName": "Swift",
                        "logo": "https://i.pinimg.com/originals/8f/50/63/8f50630ae0e1775196e4c270c573ce67.png"
                    },
                    {
                        "displayName": "React Native",
                        "logo": "https://www.datocms-assets.com/45470/1631026680-logo-react-native.png"
                    },
                    {
                        "displayName": "Iconic",
                        "logo": "https://images.prismic.io/ionicframeworkcom/66cfdbef-e59d-463a-8e24-12cb233e9d97_ionic+logo+blue.png?auto=compress,format"
                    }
                ]
            }
        ]
    }
]

@brionmario
Copy link
Member Author

This PR is only for reference. Please do not merge.

@brionmario
Copy link
Member Author

The suggested changes were integrated to the Api. Hence closing

@brionmario brionmario closed this Oct 26, 2023
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.

1 participant