Amir Hazan Posted December 1, 2021 Share Posted December 1, 2021 I cant understand, there is no way to do it with the rest API Via postman? Regards, Amir From: 'Yash Tandon' via Ant Media Server <ant-media-server@googlegroups.com> Sent: Wednesday, 1 December 2021 21:22 To: Ant Media Server <ant-media-server@googlegroups.com> Subject: Re: 404 - On Creating New Application Hi Amir, You need to authenticate first to call management Rest API or you can disable the authentication filter. You can refer below post answered by my colleague. https://stackoverflow.com/questions/64444673/ant-media-dashboard-settings-through-rest-api Regards, Yash On Wednesday, December 1, 2021 at 10:05:40 PM UTC+5:30 am...@omnistream.live wrote: Unable to create new application with rest API - getting 404 message "/v2/applications/{appName}" trying to understand what I'm missing... -- You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe. To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f48b9fd0-bac2-4622-92d0-b4eb4680eb27n%40googlegroups.com. Link to comment Share on other sites More sharing options...
0 Amir Hazan Posted December 2, 2021 Author Share Posted December 2, 2021 Ok, thanks! And after that I can use the API to create or edit applications settings? Best Amir Hazan From: 'Yash Tandon' via Ant Media Server <ant-media-server@googlegroups.com> Sent: Thursday, 2 December 2021 15:26 To: Ant Media Server <ant-media-server@googlegroups.com> Subject: Re: 404 - On Creating New Application Hi Amir You can disable authentication by commenting out the following lines below from /usr/local/antmedia/webapps/root/WEB-INF/web.xml and you can use IP filtering for accessing the REST API as documented here <filter-name>AuthenticationFilter</filter-name> <filter-class>io.antmedia.console.rest.AuthenticationFilter</filter-class> </filter> <filter-mapping> <filter-name>AuthenticationFilter</filter-name> <url-pattern>/rest/*</url-pattern> </filter-mapping> After that you can call the management REST API from postman. Regards, Yash On Thursday, December 2, 2021 at 2:08:20 AM UTC+5:30 am...@omnistream.live wrote: I cant understand, there is no way to do it with the rest API Via postman? Regards, Amir From: 'Yash Tandon' via Ant Media Server < ant-medi...@googlegroups.com> Sent: Wednesday, 1 December 2021 21:22 To: Ant Media Server <ant-medi...@googlegroups.com> Subject: Re: 404 - On Creating New Application Hi Amir, You need to authenticate first to call management Rest API or you can disable the authentication filter. You can refer below post answered by my colleague. https://stackoverflow.com/questions/64444673/ant-media-dashboard-settings-through-rest-api Regards, Yash On Wednesday, December 1, 2021 at 10:05:40 PM UTC+5:30 am...@omnistream.live wrote: Unable to create new application with rest API - getting 404 message "/v2/applications/{appName}" trying to understand what I'm missing... -- You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe. To unsubscribe from this group and all its topics, send an email to ant-media-serv...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f48b9fd0-bac2-4622-92d0-b4eb4680eb27n%40googlegroups.com. -- You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe. To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/7542a3e7-9957-4214-aa74-ea07bb9fe108n%40googlegroups.com. Link to comment Share on other sites More sharing options...
Question
Amir Hazan
I cant understand, there is no way to do it with the rest API Via postman?
Regards,
Amir
From: 'Yash Tandon' via Ant Media Server <ant-media-server@googlegroups.com>
Sent: Wednesday, 1 December 2021 21:22
To: Ant Media Server <ant-media-server@googlegroups.com>
Subject: Re: 404 - On Creating New Application
Hi Amir,
You need to authenticate first to call management Rest API or you can disable the authentication filter.
You can refer below post answered by my colleague.
https://stackoverflow.com/questions/64444673/ant-media-dashboard-settings-through-rest-api
Regards,
Yash
On Wednesday, December 1, 2021 at 10:05:40 PM UTC+5:30 am...@omnistream.live wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f48b9fd0-bac2-4622-92d0-b4eb4680eb27n%40googlegroups.com.
Link to comment
Share on other sites
Top Posters For This Question
2
Popular Days
Dec 1
1
Dec 2
1
Top Posters For This Question
Amir Hazan 2 posts
Popular Days
Dec 1 2021
1 post
Dec 2 2021
1 post
1 answer to this question
Recommended Posts