SIN API » Histórico » Versão 6
Alexandre Menezes, 19/09/2025 20:10
| 1 | 1 | Alexandre Menezes | h1. API do Sinfonia |
|---|---|---|---|
| 2 | 1 | Alexandre Menezes | |
| 3 | 6 | Alexandre Menezes | {{toc}} |
| 4 | 6 | Alexandre Menezes | |
| 5 | 1 | Alexandre Menezes | Todas as chamadas são feitas via REST e precisam passar como parâmetro um token_key, que deve ser solicitado previamente. |
| 6 | 1 | Alexandre Menezes | |
| 7 | 1 | Alexandre Menezes | O path (URL) dos métodos é formada pelo endereço https://sinfonia.sistemas.ufsc.br/api/v1/ + nome do método desejado |
| 8 | 1 | Alexandre Menezes | |
| 9 | 1 | Alexandre Menezes | h2. Número de itens do Lattes |
| 10 | 1 | Alexandre Menezes | |
| 11 | 4 | Alexandre Menezes | *Método* |
| 12 | 1 | Alexandre Menezes | * tipo: get |
| 13 | 4 | Alexandre Menezes | * nome: get_lattes_items_count |
| 14 | 1 | Alexandre Menezes | |
| 15 | 4 | Alexandre Menezes | *Entrada* |
| 16 | 1 | Alexandre Menezes | * idpessoa: identificador da pessoa |
| 17 | 1 | Alexandre Menezes | * date: data limite da extração (se não for informada, 5 anos a partir da data da consulta) |
| 18 | 1 | Alexandre Menezes | * items: lista de ítens, passada como array json (entre colchetes, mesmo para um único item). |
| 19 | 1 | Alexandre Menezes | |
| 20 | 4 | Alexandre Menezes | *Saída* |
| 21 | 1 | Alexandre Menezes | * número de itens encontrados |
| 22 | 1 | Alexandre Menezes | |
| 23 | 4 | Alexandre Menezes | h2. Items do lattes |
| 24 | 1 | Alexandre Menezes | |
| 25 | 4 | Alexandre Menezes | *Método* |
| 26 | 4 | Alexandre Menezes | * tipo: get |
| 27 | 4 | Alexandre Menezes | * nome:list_lattes_items |
| 28 | 1 | Alexandre Menezes | |
| 29 | 4 | Alexandre Menezes | *Entrada* |
| 30 | 4 | Alexandre Menezes | * idpessoa |
| 31 | 4 | Alexandre Menezes | * date: data limite da extração (default 5 anos) |
| 32 | 4 | Alexandre Menezes | * items: lista de ítens, passada como array json (entre colchetes, mesmo para um único item). |
| 33 | 1 | Alexandre Menezes | |
| 34 | 4 | Alexandre Menezes | *Saída* |
| 35 | 4 | Alexandre Menezes | * lista de items, com ano, titulo, orientando |
| 36 | 1 | Alexandre Menezes | |
| 37 | 1 | Alexandre Menezes | |
| 38 | 4 | Alexandre Menezes | h2. Indice H |
| 39 | 1 | Alexandre Menezes | |
| 40 | 4 | Alexandre Menezes | *Método* |
| 41 | 4 | Alexandre Menezes | * tipo: get |
| 42 | 4 | Alexandre Menezes | *nome: get_h_index |
| 43 | 1 | Alexandre Menezes | |
| 44 | 4 | Alexandre Menezes | *Entrada* |
| 45 | 4 | Alexandre Menezes | * idpessoa |
| 46 | 4 | Alexandre Menezes | * year |
| 47 | 4 | Alexandre Menezes | * date: data limite da extração |
| 48 | 1 | Alexandre Menezes | |
| 49 | 4 | Alexandre Menezes | *Saída* |
| 50 | 4 | Alexandre Menezes | * indice H da pessoa (número) |
| 51 | 1 | Alexandre Menezes | |
| 52 | 4 | Alexandre Menezes | |
| 53 | 4 | Alexandre Menezes | h2. Bolsista de produtividade |
| 54 | 4 | Alexandre Menezes | |
| 55 | 4 | Alexandre Menezes | |
| 56 | 4 | Alexandre Menezes | *Método* |
| 57 | 4 | Alexandre Menezes | * tipo: get |
| 58 | 4 | Alexandre Menezes | * nome: get_sholarship |
| 59 | 4 | Alexandre Menezes | |
| 60 | 4 | Alexandre Menezes | *Entrada* |
| 61 | 1 | Alexandre Menezes | - idpessoa |
| 62 | 4 | Alexandre Menezes | - date: data da bolsa |
| 63 | 1 | Alexandre Menezes | |
| 64 | 4 | Alexandre Menezes | *Saída* |
| 65 | 5 | Alexandre Menezes | * year |
| 66 | 5 | Alexandre Menezes | * area: grande área/área/sub-área |
| 67 | 5 | Alexandre Menezes | * item_type (PQ ou DT) |
| 68 | 5 | Alexandre Menezes | * level: 1A, 1B, 1C, 1D, 2 |
| 69 | 5 | Alexandre Menezes | * beginning_date |
| 70 | 1 | Alexandre Menezes | * ending_date |
| 71 | 1 | Alexandre Menezes | |
| 72 | 6 | Alexandre Menezes | h2. Número de Items do SIGPEX |
| 73 | 1 | Alexandre Menezes | |
| 74 | 6 | Alexandre Menezes | *Método* |
| 75 | 6 | Alexandre Menezes | * tipo: get |
| 76 | 6 | Alexandre Menezes | * nome: get_sigpex_items_count |
| 77 | 1 | Alexandre Menezes | |
| 78 | 6 | Alexandre Menezes | *Entrada* |
| 79 | 6 | Alexandre Menezes | * idpessoa |
| 80 | 6 | Alexandre Menezes | * types : sempre uma lista, mesmo pra um único tipo |
| 81 | 6 | Alexandre Menezes | * date: data de corte (entre início e término) |
| 82 | 6 | Alexandre Menezes | * participation_type: tipo de participação (Coordenador ou Participante). Omite-se o parâmetro se quiser todos. |
| 83 | 1 | Alexandre Menezes | |
| 84 | 6 | Alexandre Menezes | *Saída* |
| 85 | 6 | Alexandre Menezes | * número |
| 86 | 1 | Alexandre Menezes | |
| 87 | 1 | Alexandre Menezes | |
| 88 | 6 | Alexandre Menezes | h2. Items do SIGPEX |
| 89 | 1 | Alexandre Menezes | |
| 90 | 6 | Alexandre Menezes | *Método* |
| 91 | 6 | Alexandre Menezes | * tipo: get |
| 92 | 6 | Alexandre Menezes | * nome: list_sigpex_items |
| 93 | 1 | Alexandre Menezes | |
| 94 | 6 | Alexandre Menezes | *Entrada* |
| 95 | 6 | Alexandre Menezes | * idpessoa |
| 96 | 6 | Alexandre Menezes | * types : sempre uma lista, mesmo pra um único tipo |
| 97 | 6 | Alexandre Menezes | * date: data de corte (entre início e término) |
| 98 | 6 | Alexandre Menezes | * participation_type: tipo de participação (Coordenador ou Participante). Omite-se o parâmetro se quiser todos. |
| 99 | 1 | Alexandre Menezes | |
| 100 | 6 | Alexandre Menezes | *Saída* |
| 101 | 6 | Alexandre Menezes | * number |
| 102 | 6 | Alexandre Menezes | * title |
| 103 | 6 | Alexandre Menezes | * coordinator_name |
| 104 | 6 | Alexandre Menezes | * start_date |
| 105 | 6 | Alexandre Menezes | * end_date |
| 106 | 6 | Alexandre Menezes | * situation |
| 107 | 6 | Alexandre Menezes | * participation_type |
| 108 | 6 | Alexandre Menezes | * project_type |
| 109 | 6 | Alexandre Menezes | |
| 110 | 6 | Alexandre Menezes | |
| 111 | 6 | Alexandre Menezes | h2. Licenças |
| 112 | 6 | Alexandre Menezes | |
| 113 | 6 | Alexandre Menezes | *Método* |
| 114 | 6 | Alexandre Menezes | * tipo: get |
| 115 | 6 | Alexandre Menezes | * nome: list_leaves |
| 116 | 6 | Alexandre Menezes | |
| 117 | 6 | Alexandre Menezes | *Entrada* |
| 118 | 6 | Alexandre Menezes | * idpessoa |
| 119 | 6 | Alexandre Menezes | * date: data de corte (alguma licença com término após essa data) |
| 120 | 6 | Alexandre Menezes | * type: tipo de licença (M - maternidade, ) |
| 121 | 6 | Alexandre Menezes | |
| 122 | 6 | Alexandre Menezes | *Saída* |
| 123 | 6 | Alexandre Menezes | * leave_type |
| 124 | 6 | Alexandre Menezes | * beginning_date |
| 125 | 6 | Alexandre Menezes | * ending_date |
| 126 | 6 | Alexandre Menezes | * expected_return_date |
| 127 | 6 | Alexandre Menezes | * days |
| 128 | 3 | Alexandre Menezes | |
| 129 | 3 | Alexandre Menezes | |
| 130 | 3 | Alexandre Menezes | h2. Detalhes dos parâmetros |
| 131 | 3 | Alexandre Menezes | |
| 132 | 3 | Alexandre Menezes | *Com relação às consultas referentes ao Currículo Lattes, são itens:* |
| 133 | 3 | Alexandre Menezes | |
| 134 | 3 | Alexandre Menezes | * ORIENT_CONCL_DOUT: 'Orientações concluídas - Doutorado' |
| 135 | 3 | Alexandre Menezes | * ORIENT_CONCL_MEST: 'Orientações concluídas - Mestrado' |
| 136 | 3 | Alexandre Menezes | * ORIENT_CONCL_POS_DOC: 'Orientações concluídas - Pós-doutorado' |
| 137 | 3 | Alexandre Menezes | * ORIENT_CONCL_ESPEC: 'Orientações concluídas - Aprefeiçoamento/Especialização' |
| 138 | 3 | Alexandre Menezes | * ORIENT_CONCL_TCC: 'Orientações concluídas - TCC' |
| 139 | 3 | Alexandre Menezes | * ORIENT_CONCL_IC: 'Orientações concluídas - IC' |
| 140 | 3 | Alexandre Menezes | * ORIENT_ANDAM_DOUT: 'Orientações em andamento - Doutorado' |
| 141 | 3 | Alexandre Menezes | * ORIENT_ANDAM_MEST: 'Orientações em andamento - Mestrado' |
| 142 | 3 | Alexandre Menezes | * ORIENT_ANDAM_POS_DOC: 'Orientações em andamento - Pós-doutorado' |
| 143 | 3 | Alexandre Menezes | * ORIENT_ANDAM_ESPEC: 'Orientações em andamento - Aperfeiçoamento/Especialização' |
| 144 | 3 | Alexandre Menezes | * ORIENT_ANDAM_TCC: 'Orientações em andamento - TCC' |
| 145 | 3 | Alexandre Menezes | * ORIENT_ANDAM_IC: 'Orientações em andamento - IC' |
| 146 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_DOUT: 'Coorientações concluídas - Doutorado' |
| 147 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_MEST: 'Coorientações concluídas - Mestrado' |
| 148 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_POS_DOC: 'Coorientações concluídas - Pós-doutorado' |
| 149 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_ESPEC: 'Coorientações concluídas - Aprefeiçoamento/Especialização' |
| 150 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_TCC: 'Coorientações concluídas - TCC' |
| 151 | 3 | Alexandre Menezes | * CO_ORIENT_CONCL_IC: 'Coorientações concluídas - IC' |
| 152 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_DOUT: 'Coorientações em andamento - Doutorado' |
| 153 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_MEST: 'Coorientações em andamento - Mestrado' |
| 154 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_POS_DOC: 'Coorientações em andamento - Pós-doutorado' |
| 155 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_ESPEC: 'Coorientações em andamento - Aperfeiçoamento/Especialização' |
| 156 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_TCC: 'Coorientações em andamento - TCC' |
| 157 | 3 | Alexandre Menezes | * CO_ORIENT_ANDAM_IC: 'Coorientações em andamento - IC' |
| 158 | 3 | Alexandre Menezes | |
| 159 | 3 | Alexandre Menezes | *Para as consultas ao SIGPEX, o parâmetro type pode assumir os seguintes valores:* |
| 160 | 3 | Alexandre Menezes | |
| 161 | 3 | Alexandre Menezes | * DISCENTE: Atividade Discente |
| 162 | 3 | Alexandre Menezes | * DOCENTE: Atividade Docente |
| 163 | 1 | Alexandre Menezes | * EXTENSAO_CURSO: Curso de Extensão |
| 164 | 1 | Alexandre Menezes | * EXTENSAO_EVENTO: Evento de Extensão |
| 165 | 1 | Alexandre Menezes | * EXTENSAO_PROGRAMA: Programa de Extensão |
| 166 | 1 | Alexandre Menezes | * EXTENSAO_PROJETO: Projeto de Extensão |
| 167 | 1 | Alexandre Menezes | * PESQUISA: Projeto de Pesquisa |