GetSemaphore

Gets a semaphore.

Request:

{
  "namespace_name": "third_parties",
  "semaphore_name": "partner_1"
}

Response:

{
  "semaphore": {
    "name": "partner_1",
    "description": "Partner 1 API",
    "created_at": 1695826239671432000,            
    "updated_at": 1695826239671432000,
    "permits": 20,
    "semaphore_holders": [
      {
        "process_id": "host-123/thread-123456",
        "locked_at": 1695826239671432000,
        "expires_at": 1695826539671432000
      }
    ]
  }
}