This API endpoint retrieves the list of active versions.
OK response.
curl 'https://app.harness.io/gratis/sei/api/v1/org/users/versions?page_size=999' \ -H 'accept: application/json, text/plain, */*' \ -H 'Authorization: APIKEY <HARNESS_SEI_API_KEY>'
{- "records": [
- "/* Array of 521 items */"
], - "count": 521,
- "_metadata": {
- "page_size": 999,
- "page": 0,
- "has_next": false,
- "total_count": 521
}
}
This API endpoint retrieves the schema used by the contributors, including any custom fields.
OK response.
curl 'https://app.harness.io/gratis/sei/api/v1/org/users/schema' \ -H 'accept: application/json, text/plain, */*' \ -H 'Authorization: APIKEY <HARNESS_SEI_API_KEY>' \
{- "version": 190,
- "created_at": 1710153327501,
- "fields": [
- {
- "index": 3,
- "key": "integration",
- "display_name": "Integration",
- "description": "Add a column for every integration",
- "type": "string",
- "system_field": false
}, - {
- "index": 1,
- "key": "full_name",
- "display_name": "Name",
- "description": "Name",
- "type": "string",
- "system_field": false
}, - {
- "index": 2,
- "key": "region",
- "display_name": "Region",
- "description": "Region",
- "type": "string",
- "system_field": false
}, - {
- "index": 2,
- "key": "email",
- "display_name": "Email",
- "description": "Unique email address per member",
- "type": "string",
- "system_field": false
}
]
}
This API endpoint retrieves the list of current active licensed contributors.
OK response.
{- "page": 0,
- "page_size": 50,
- "filter": { }
}
{- "records": [
- {
- "id": "3",
- "org_uuid": "6a113eba-3e65-4344-ab24-a935c602eb7f",
- "full_name": "Ashish Duthade",
- "email": "ashish@harness.io",
- "integration_user_ids": [ ],
- "additional_fields": {
- "region": "test"
}, - "version": "512",
- "created_at": 1710164128545,
- "updated_at": 1714968896813
}, - {
- "id": "0",
- "full_name": "External User766797748",
- "email": "",
- "integration_user_ids": [
- {
- "integration_id": "5322",
- "user_id": "712020:c41c2f65-682b-4c77-91df-6cd9de138c63"
}
], - "additional_fields": { },
- "version": "0",
- "created_at": 1715126614000,
- "updated_at": 1715661535000
}
], - "_metadata": {
- "total_count": 80715,
- "has_next": true,
- "page_size": 50,
- "next_page": 1,
- "page": 0,
- "non_users_count": 80710
}
}
This API endpoint is used to update existing contributors (users) in the system.
Update successful.
Bad request. Indicates an issue with the request payload.
Not found. Indicates the contributor with the specified ID was not found.
[- {
- "id": "3",
- "org_uuid": "6a113eba-3e65-4344-ab24-a935c602eb7f",
- "full_name": "Ashish Duthade",
- "email": "ashish@harness.io",
- "integration_user_ids": [ ],
- "additional_fields": {
- "region": "test 123"
}, - "version": "512",
- "created_at": 1710164128545,
- "updated_at": 1714968896813,
- "dynamic_column_aggs_region": "test 123"
}
]
{- "message": "Contributor with ID 3 updated successfully."
}
This API endpoint retrieves the list of licensed users for the given organization.
OK response.
{ }
{- "org_user_count": 27,
- "integration_user_count": 86,
- "org_user_details": [
- {
- "org_user_id": "8789d43f-a278-4250-8ec3-6e117400f3cc",
- "org_user_ref_id": "550",
- "full_name": "Meetrajsinh Solanki",
- "email": "meetrajsinh.solanki@harness.io",
- "integration_user_details": [
- {
- "integration_id": 2,
- "integration_type": "github",
- "integration_user_id": "27f430e1-b2d9-4dc8-9b7f-d2b76206dc6e",
- "cloud_id": "meetrajsinh-crest"
}, - {
- "integration_id": 12,
- "integration_type": "github",
- "integration_user_id": "119f6299-f4bb-4206-8228-e4178d9addfc",
- "cloud_id": "meetrajsinh-crest"
}, - {
- "integration_id": 49,
- "integration_type": "github",
- "integration_user_id": "3b9cebed-f8a4-4d57-8811-ccd7718fa139",
- "cloud_id": "meetrajsinh-crest"
}
]
}, - {
- "org_user_id": "2e4299b6-3106-454a-9115-5c58c34c24db",
- "org_user_ref_id": "551",
- "full_name": "Esha Shah Crest",
- "email": "esha.shah@harness.io",
- "integration_user_details": [
- {
- "integration_id": 2,
- "integration_type": "github",
- "integration_user_id": "cf44ed58-f742-4164-8905-9de782017002",
- "cloud_id": "eshah-crest"
}, - {
- "integration_id": 49,
- "integration_type": "github",
- "integration_user_id": "14fc9b9d-3218-4441-bb8a-12403d8db443",
- "cloud_id": "eshah-crest"
}, - {
- "integration_id": 12,
- "integration_type": "github",
- "integration_user_id": "3210b749-35f5-445a-a12d-fced73139ba0",
- "cloud_id": "eshah-crest"
}
]
}
]
}