Page 1 of 1

Depreciation of V1 Interface

Posted: Thu Aug 01, 2024 8:03 pm
by joefremont
Hi Flyers.

Its been some time since we released the V2 of the XML/Json interface, and it is time to announce the depreciation of the old V1 interface. As far as I can tell only three VA's are still using V1, one of which I am in the process of helping move.

The V1 interface will be disabled Jan 1, 2025. I will actually add code to it so it will disable itself on that date, incase I forget. I may turn it off earlier if all the known users of it have migrated.

That is all, carry on.

Re: Depreciation of V1 Interface

Posted: Sun Aug 04, 2024 11:58 pm
by Cat
Fly Vegas:

Got your message Joe and I am sending a message to the few pilots left in FV as I have never used an XML interface personally. Our website does not have any kind of interface with FSAirlines either other than a link to direct people to fsairlines.net

Re: Depreciation of V1 Interface

Posted: Tue Aug 06, 2024 7:48 am
by ADAM-007
I was surprised to hear V1 was still running when we spoke last week. I thought it had been succeeded ages ago.

Re: Depreciation of V1 Interface

Posted: Tue Aug 06, 2024 8:10 pm
by Cat
We are not using any interface at this time.

Re: Depreciation of V1 Interface

Posted: Tue Aug 06, 2024 9:14 pm
by joefremont
Cat wrote: Tue Aug 06, 2024 8:10 pm We are not using any interface at this time.
I just checked and I see about 5000 calls since July 30 from IP address XXXXXXX (Sent to Cat via PM)

Re: Depreciation of V1 Interface

Posted: Tue Aug 06, 2024 9:32 pm
by joefremont
Cat wrote: Tue Aug 06, 2024 8:10 pm We are not using any interface at this time.
It seams to be run on a 15 minute cycle, here are the logs for one cycle from today
[06/Aug/2024:01:00:02 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=122331&count=1
[06/Aug/2024:01:00:02 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=122331&count=1
[06/Aug/2024:01:00:03 +0200] "GET /va_interface.php?function=getAircraftData&va_id=21564&ac_id=122331
[06/Aug/2024:01:00:03 +0200] "GET /va_interface.php?function=getAircraftData&va_id=21564&ac_id=122331
[06/Aug/2024:01:00:03 +0200] "GET /va_interface.php?function=getReportDetail&va_id=21564&report_id=3246789
[06/Aug/2024:01:00:04 +0200] "GET /va_interface.php?function=getReportDetail&va_id=21564&report_id=3246789
[06/Aug/2024:01:01:02 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=122331&count=5
[06/Aug/2024:01:01:02 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=122331&count=5
[06/Aug/2024:01:01:03 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=144270&count=5
[06/Aug/2024:01:01:04 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=144270&count=5
[06/Aug/2024:01:01:04 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=146018&count=5
[06/Aug/2024:01:01:06 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=146018&count=5
[06/Aug/2024:01:01:07 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=63493&count=5
[06/Aug/2024:01:01:08 +0200] "GET /va_interface.php?function=getFlightReports&va_id=21564&ac_id=63493&count=5

Re: Depreciation of V1 Interface

Posted: Wed Aug 07, 2024 10:05 am
by ADAM-007
I'd probably redact that IP above Joe.

Does that mean someone's gained Cat's API Key if they aren't using anything on their site...?

Re: Depreciation of V1 Interface

Posted: Wed Aug 07, 2024 9:12 pm
by joefremont
ADAM-007 wrote: Wed Aug 07, 2024 10:05 am I'd probably redact that IP above Joe.

Does that mean someone's gained Cat's API Key if they aren't using anything on their site...?
I don't think there is much you can do with the random IP address, but will PM it to Cat instead.

Given that for V1 you had to declare your IP address, and its still coming from there I don't think its hijacked. More likely a zombie system that nobody uses or looks at, but its still collecting data.

Re: Depreciation of V1 Interface

Posted: Sun Nov 03, 2024 1:38 am
by KVL01DF
Hello Joe,

we still use v1
is there any tutorial to learn how to program v2?

Re: Depreciation of V1 Interface

Posted: Sun Nov 03, 2024 4:24 pm
by joefremont
KVL01DF wrote: Sun Nov 03, 2024 1:38 am Hello Joe,

we still use v1
is there any tutorial to learn how to program v2?
Yes there is

https://wiki4.fsairlines.net/index.php/XML-Interface-v2