Skip to content

Add clients to the API first, then have them checkin and get the right machineId #337

@sei-dupdyke

Description

@sei-dupdyke

Discussed in #336

Originally posted by danross826 May 3, 2024
So, I have my ghosts api set up. Whenever I install a ghosts client on a new machine and link to my ghosts api server, it adds the machine to the database with a new machine id. However, I want to use the api to add machines before I install the client on them. Every machine has a machine id that's created an assigned to it when the client connects. How is this machine Id created? I've been looking through the code and I can see a function called at various points that creates a GUID. Is that function in the code somewhere (I can't find it if it is) or is it an inbuilt function of the language ghosts is using?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions