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 api_url field to search api #692

Merged
merged 1 commit into from
Jun 12, 2023
Merged

add api_url field to search api #692

merged 1 commit into from
Jun 12, 2023

Conversation

mo3tafa
Copy link
Contributor

@mo3tafa mo3tafa commented Jan 9, 2023

Description

Missing 'api_url' field in search api

Steps

Pre-deploy

Post-deploy
api_url = serializers.SerializerMethodField()
def get_api_url(self, obj):
return self.context["request"].build_absolute_uri(obj.get_absolute_url(api=True))

@mgogoulos mgogoulos merged commit 2f43cef into mediacms-io:main Jun 12, 2023
@mgogoulos
Copy link
Contributor

Thanks for the PR!

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