I don’t know how you add a call to an API that doesn’t exist
As far as I know, these messages are passed to the portal using dbus. So the app could just fire the correct dbus message with correct parameters (you can find the correct values in the Wayland specs). The portal, used by the compositor, then takes the message and runs the requested action or returns something like not implemented or unknown method.
The trickier part is testing when no portal supports the API calls.
But yeah, interoperability between systems can be a pain in the ass.
The process is analogous to sending an http request. Your app sets up the httpclient and points it to a URI and after sending the request you get back either the content with 200 status or 404. If you get 404 you can show the user a message like “this website doesnt support feature xyz”









Yes, this is 100% a scam or rather, fraud (and may be illegal where you live).
He explains the con right in the follow-up email.
Let’s break this down.
He gets people who would have nice resumes (or profiles,… like a young fella fresh outta college) to apply for tech jobs. He’s looking specifically for US tech jobs because of the “high rate” in which he means the jobs pay a high hourly rate/wage.
Once the company hires you, you subcontract (aka pay him) to do the work. Of course he’s probably going to say something like, well you keep 20% of the “high rate” for yourself.
The following is only speculation
Since he’s asking you about interviews and team meetings, I have a feeling he’s not getting a lot of success recruiting “collaborators” in the US and likely thinks getting someone already in the US to recruit other will be easier (no language barrier, no international issue, etc). Having an American front man for this scam is likely going to make recruitment easier.