{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:namely/company-info-get-info":{"get":{"operationId":"open_data_namely_company_info_get_info","summary":"Company Info","description":"GET /companies/info","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-folders":{"get":{"operationId":"open_data_namely_get_folders","summary":"Get all Folders","description":"GET /folders","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/post-folders":{"post":{"operationId":"open_data_namely_post_folders","summary":"Create Folder","description":"POST /folders","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/company-resources-get-by-id":{"get":{"operationId":"open_data_namely_company_resources_get_by_id","summary":"Get a Resource","description":"GET /resources/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"The resource's id.","schema":{"type":"string","description":"The resource's id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/company-resources-get-folder-resources":{"get":{"operationId":"open_data_namely_company_resources_get_folder_resources","summary":"Get Resources in a Folder","description":"GET /folders/{id}/resources","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"Use the folder id to pull the resources you want to see.","schema":{"type":"string","description":"Use the folder id to pull the resources you want to see."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/company-resources-delete-resource-by-id":{"post":{"operationId":"open_data_namely_company_resources_delete_resource_by_id","summary":"Delete Resource","description":"DELETE /folders/{id}/resources","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"Use the folder id to pull the resources you want to see."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-resources":{"get":{"operationId":"open_data_namely_get_resources","summary":"Get Resources not in a Folder","description":"GET /resources","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/company-resources-update-folder-name":{"post":{"operationId":"open_data_namely_company_resources_update_folder_name","summary":"Update Folder","description":"PUT /folders/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the folder you want to update"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/company-resources-delete-folder-by-id":{"post":{"operationId":"open_data_namely_company_resources_delete_folder_by_id","summary":"Delete Folder","description":"DELETE /folders/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the folder you want to update"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-groups":{"get":{"operationId":"open_data_namely_get_groups","summary":"Get all Groups","description":"GET /groups","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/groups-teams-get-group-details":{"get":{"operationId":"open_data_namely_groups_teams_get_group_details","summary":"Get a Group","description":"GET /groups/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the group you want to view","schema":{"type":"string","description":"id of the group you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/groups-teams-get-all-group-types":{"get":{"operationId":"open_data_namely_groups_teams_get_all_group_types","summary":"Get all Group Types","description":"GET /group_types","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/groups-teams-get-group-type-details":{"get":{"operationId":"open_data_namely_groups_teams_get_group_type_details","summary":"Get a Group Type","description":"GET /group_types/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the group type you want to view","schema":{"type":"string","description":"id of the group type you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/groups-teams-get-group-type-groups":{"get":{"operationId":"open_data_namely_groups_teams_get_group_type_groups","summary":"Get Groups from Group Type","description":"GET /group_types/{id}/groups","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-teams":{"get":{"operationId":"open_data_namely_get_teams","summary":"Get all Teams","description":"GET /teams","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/groups-teams-get":{"get":{"operationId":"open_data_namely_groups_teams_get","summary":"Get a Team","description":"GET /teams/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the team you want to view","schema":{"type":"string","description":"id of the team you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-events":{"get":{"operationId":"open_data_namely_get_events","summary":"Get all Events","description":"GET /events","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"limit","in":"query","required":false,"description":"Limit of records to be retrieved","schema":{"type":"integer","default":"","description":"Limit of records to be retrieved"}},{"name":"after","in":"query","required":false,"description":"id of the first record BEFORE the events you want to retrieve","schema":{"type":"string","description":"id of the first record BEFORE the events you want to retrieve"}},{"name":"filter[type]","in":"query","required":false,"description":"The type of event you want to retrieve; examples include `birthday`, `announcement`, `recent_arrival` or `anniversary`","schema":{"type":"string","description":"The type of event you want to retrieve; examples include `birthday`, `announcement`, `recent_arrival` or `anniversary`"}},{"name":"profile_id","in":"query","required":false,"description":"id of the profile that you wish to pull all associated events from","schema":{"type":"string","description":"id of the profile that you wish to pull all associated events from"}},{"name":"order","in":"query","required":false,"description":"This parameter allows you to change how results are ordered. Valid values are `asc` and `desc` - It defaults to `desc`","schema":{"type":"string","description":"This parameter allows you to change how results are ordered. Valid values are `asc` and `desc` - It defaults to `desc`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/post-events":{"post":{"operationId":"open_data_namely_post_events","summary":"Create an Announcement","description":"POST /events","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-get-event":{"get":{"operationId":"open_data_namely_home_feed_get_event","summary":"Get an Event","description":"GET /events/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of event.","schema":{"type":"string","description":"id of event."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-delete-announcement":{"post":{"operationId":"open_data_namely_home_feed_delete_announcement","summary":"Delete an Announcement","description":"DELETE /events/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of event."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-get-event-comments":{"get":{"operationId":"open_data_namely_home_feed_get_event_comments","summary":"Get an Event's Comments","description":"GET /events/{event-id}/comments","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"event-id","in":"query","required":true,"description":"id of the event whose comments you want to view","schema":{"type":"string","description":"id of the event whose comments you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-get-event-likes":{"get":{"operationId":"open_data_namely_home_feed_get_event_likes","summary":"Get an Event's Likes","description":"GET /likes/event/{event-id}/recent","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"event-id","in":"query","required":true,"description":"id of the event whose likes you want to view","schema":{"type":"string","description":"id of the event whose likes you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-get-event-comment-likes":{"get":{"operationId":"open_data_namely_home_feed_get_event_comment_likes","summary":"Get an Event's Comment's Likes","description":"GET /likes/event_comment/{comment-id}/recent","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"comment-id","in":"query","required":true,"description":"id of the comment whose likes you want to view","schema":{"type":"string","description":"id of the comment whose likes you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-create-event-comment":{"post":{"operationId":"open_data_namely_home_feed_create_event_comment","summary":"Create an Event's Comment","description":"POST /events/{id}/comments","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of event."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-create-event-like":{"post":{"operationId":"open_data_namely_home_feed_create_event_like","summary":"Create an Event's Like","description":"POST /likes/event/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the event you want to like"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-like-event-comment":{"post":{"operationId":"open_data_namely_home_feed_like_event_comment","summary":"Create an Event's Comment's Like","description":"POST /likes/event_comment/{comment-id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","comment-id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"comment-id":{"type":"string","description":"id of the comment you want to like"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-delete-event-comment-like":{"post":{"operationId":"open_data_namely_home_feed_delete_event_comment_like","summary":"Delete an Event's Comment's Like","description":"DELETE /likes/event_comment/{comment-id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","comment-id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"comment-id":{"type":"string","description":"id of the comment you want to like"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-remove-event-comment":{"post":{"operationId":"open_data_namely_home_feed_remove_event_comment","summary":"Delete an Event's Comment","description":"DELETE /events/{event-id}/comments/{comment-id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","event-id","comment-id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"event-id":{"type":"string","description":"id of the event to which the comment belongs"},"comment-id":{"type":"string","description":"id of the comment you want to delete from the event"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/home-feed-remove-event-like":{"post":{"operationId":"open_data_namely_home_feed_remove_event_like","summary":"Delete an Event's Like","description":"DELETE /likes/event/{event-id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","event-id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"event-id":{"type":"string","description":"id of the event from which you want to delete the like"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-get-all-job-tiers":{"get":{"operationId":"open_data_namely_jobs_info_get_all_job_tiers","summary":"Get all Job Tiers","description":"GET /job_tiers","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-create-job-tier":{"post":{"operationId":"open_data_namely_jobs_info_create_job_tier","summary":"Create a Job Tier","description":"POST /job_tiers","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-get-job-tier":{"get":{"operationId":"open_data_namely_jobs_info_get_job_tier","summary":"Get a Job Tier","description":"GET /job_tiers/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the job tier you want to view","schema":{"type":"string","description":"id of the job tier you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-update-label":{"post":{"operationId":"open_data_namely_jobs_info_update_label","summary":"Update a Job Tier","description":"PUT /job_tiers/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the job tier you want to view"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-get-all-job-titles":{"get":{"operationId":"open_data_namely_jobs_info_get_all_job_titles","summary":"Get all Job Titles","description":"GET /job_titles","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-create-job-title":{"post":{"operationId":"open_data_namely_jobs_info_create_job_title","summary":"Create a Job Title","description":"POST /job_titles","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-get-job-title-by-id":{"get":{"operationId":"open_data_namely_jobs_info_get_job_title_by_id","summary":"Get a Job Title","description":"GET /job_titles/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the job title you want to view","schema":{"type":"string","description":"id of the job title you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/jobs-info-update-job-title":{"post":{"operationId":"open_data_namely_jobs_info_update_job_title","summary":"Update a Job Title","description":"PUT /job_titles/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the job title you want to view"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-countries":{"get":{"operationId":"open_data_namely_get_countries","summary":"Get all Countries","description":"GET /countries","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/namely-system-info-get-country-details":{"get":{"operationId":"open_data_namely_namely_system_info_get_country_details","summary":"Get a Country","description":"GET /countries/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the country (an abbreviation of the country's name) you want to view","schema":{"type":"string","description":"id of the country (an abbreviation of the country's name) you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-notifications":{"get":{"operationId":"open_data_namely_get_notifications","summary":"Get all Notifications","description":"GET /notifications","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/notifications-get-profile-notifications":{"get":{"operationId":"open_data_namely_notifications_get_profile_notifications","summary":"Get a Profile's Notifications","description":"GET /profiles/{id}/notifications","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the profile whose notifications you want to view","schema":{"type":"string","description":"id of the profile whose notifications you want to view"}},{"name":"page","in":"query","required":false,"description":"the page of information you'd like to receive.","schema":{"type":"integer","description":"the page of information you'd like to receive."}},{"name":"per_page","in":"query","required":false,"description":"the number of employees to retrieve when using pagination; default is 30 and the limit is 50.","schema":{"type":"integer","description":"the number of employees to retrieve when using pagination; default is 30 and the limit is 50."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-get-all-fields":{"get":{"operationId":"open_data_namely_profile_fields_get_all_fields","summary":"Get all Profile Fields","description":"GET /profiles/fields","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-create-profile-field":{"post":{"operationId":"open_data_namely_profile_fields_create_profile_field","summary":"Create a Profile Field","description":"POST /profiles/fields","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-get-field-information":{"get":{"operationId":"open_data_namely_profile_fields_get_field_information","summary":"Get a Profile Field","description":"GET /profiles/fields/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the profile field you want to view","schema":{"type":"string","description":"id of the profile field you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-update-field-in-section":{"post":{"operationId":"open_data_namely_profile_fields_update_field_in_section","summary":"Update a Profile Field","description":"PUT /profiles/fields/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the profile field you want to view"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-get-all-field-sections":{"get":{"operationId":"open_data_namely_profile_fields_get_all_field_sections","summary":"Get all Profile Field Sections","description":"GET /profiles/fields/sections","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-get-field-section":{"get":{"operationId":"open_data_namely_profile_fields_get_field_section","summary":"Get a Profile Field Section","description":"GET /profiles/fields/sections/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the profile field section you want to view","schema":{"type":"string","description":"id of the profile field section you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profile-fields-update-field-in-section-2":{"post":{"operationId":"open_data_namely_profile_fields_update_field_in_section_2","summary":"Update a Profile Field Section","description":"PUT /profiles/fields/sections/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the profile field section you want to view"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/get-profiles":{"get":{"operationId":"open_data_namely_get_profiles","summary":"Get all Profiles","description":"GET /profiles","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"page","in":"query","required":false,"description":"the page of information you'd like to receive.","schema":{"type":"integer","description":"the page of information you'd like to receive."}},{"name":"per_page","in":"query","required":false,"description":"the number of employees to retrieve when using pagination; default is 30 and the limit is 50.","schema":{"type":"integer","description":"the number of employees to retrieve when using pagination; default is 30 and the limit is 50."}},{"name":"profile_format","in":"query","required":false,"description":"format of the profile object; only short is supported - returns a truncated version of the profile object","schema":{"type":"string","description":"format of the profile object; only short is supported - returns a truncated version of the profile object"}},{"name":"sort","in":"query","required":false,"description":"sort order of profiles; valid values - first_name , last_name , created_at , updated_at ; prepend with a - (minus) sign to reverse the order","schema":{"type":"string","description":"sort order of profiles; valid values - first_name , last_name , created_at , updated_at ; prepend with a - (minus) sign to reverse the order"}},{"name":"filter[first_name]","in":"query","required":false,"description":"returns only profiles with the defined first name","schema":{"type":"string","description":"returns only profiles with the defined first name"}},{"name":"filter[last_name]","in":"query","required":false,"description":"returns only profiles with the defined last name","schema":{"type":"string","description":"returns only profiles with the defined last name"}},{"name":"filter[email]","in":"query","required":false,"description":"returns only profiles with the defined (company) email","schema":{"type":"string","description":"returns only profiles with the defined (company) email"}},{"name":"filter[personal_email]","in":"query","required":false,"description":"returns only profiles with the defined personal email","schema":{"type":"string","description":"returns only profiles with the defined personal email"}},{"name":"filter[job_title]","in":"query","required":false,"description":"returns only profiles with the defined job title; must be the job_title's title","schema":{"type":"string","description":"returns only profiles with the defined job title; must be the job_title's title"}},{"name":"filter[reports_to]","in":"query","required":false,"description":"id of the profile for whose direct reports you to view; returns only those profiles","schema":{"type":"string","description":"id of the profile for whose direct reports you to view; returns only those profiles"}},{"name":"filter[user_status]","in":"query","required":false,"description":"returns only profiles with the defined user_status ; active , pending , and inactive are supported","schema":{"type":"string","description":"returns only profiles with the defined user_status ; active , pending , and inactive are supported"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/post-profiles":{"post":{"operationId":"open_data_namely_post_profiles","summary":"Create a Profile","description":"POST /profiles","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/profiles-get-profile-by-id":{"get":{"operationId":"open_data_namely_profiles_get_profile_by_id","summary":"Get a Profile","description":"GET /profiles/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the profile you want to view","schema":{"type":"string","description":"id of the profile you want to view"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/profiles-update-profile-with-new-job-title":{"post":{"operationId":"open_data_namely_profiles_update_profile_with_new_job_title","summary":"Update a Profile","description":"PUT /profiles/{id}","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","id"],"properties":{"company":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"},"id":{"type":"string","description":"id of the profile you want to view"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:namely/profiles-get-current-user-profile":{"get":{"operationId":"open_data_namely_profiles_get_current_user_profile","summary":"Get Current User's Profile","description":"GET /profiles/me","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:namely/reports-get-report-data":{"get":{"operationId":"open_data_namely_reports_get_report_data","summary":"Get a Report","description":"GET /reports/{id}","tags":["open-data"],"parameters":[{"name":"company","in":"query","required":true,"description":"Part of the server address: https://{company}.namely.com/api/v1","schema":{"type":"string","description":"Part of the server address: https://{company}.namely.com/api/v1"}},{"name":"id","in":"query","required":true,"description":"id of the report from Namely; can be found at the end of the URL of the report on the web","schema":{"type":"string","description":"id of the report from Namely; can be found at the end of the URL of the report on the web"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}